mirror of
https://github.com/thewesker/ebooks_example.git
synced 2025-12-23 05:41:13 -05:00
Fix(?) infinite loop in has_cloud
This commit is contained in:
@@ -46,9 +46,9 @@ module Ebooks::Boodoo
|
|||||||
(ENV['CLOUDINARY_URL'].nil? || ENV['CLOUDINARY_URL'].empty?) ? false : true
|
(ENV['CLOUDINARY_URL'].nil? || ENV['CLOUDINARY_URL'].empty?) ? false : true
|
||||||
end
|
end
|
||||||
|
|
||||||
def self.has_cloud?
|
# def self.has_cloud?
|
||||||
has_cloud?
|
# has_cloud?
|
||||||
end
|
# end
|
||||||
|
|
||||||
def in_cloud?(public_id, resource_type=:raw)
|
def in_cloud?(public_id, resource_type=:raw)
|
||||||
return false if !has_cloud?
|
return false if !has_cloud?
|
||||||
|
|||||||
Reference in New Issue
Block a user