Fix(?) infinite loop in has_cloud

This commit is contained in:
Joel McCoy
2015-04-16 17:29:47 -04:00
parent 803a02ae5d
commit 8e61480394

View File

@@ -46,9 +46,9 @@ module Ebooks::Boodoo
(ENV['CLOUDINARY_URL'].nil? || ENV['CLOUDINARY_URL'].empty?) ? false : true
end
def self.has_cloud?
has_cloud?
end
# def self.has_cloud?
# has_cloud?
# end
def in_cloud?(public_id, resource_type=:raw)
return false if !has_cloud?