mirror of
https://github.com/thewesker/ebooks_example.git
synced 2025-12-20 20:31:06 -05:00
Fix Archive.new call?
This commit is contained in:
@@ -16,7 +16,7 @@ module Ebooks::Boodoo
|
|||||||
def self.make_Model(username: nil, path: nil, ignore_cloud: false)
|
def self.make_Model(username: nil, path: nil, ignore_cloud: false)
|
||||||
# return CloudModel unless Cloudinary is missing or instructed not to.
|
# return CloudModel unless Cloudinary is missing or instructed not to.
|
||||||
if !ignore_cloud && has_cloud?
|
if !ignore_cloud && has_cloud?
|
||||||
CloudModel.new(username, path)
|
CloudModel.new(username, path: path)
|
||||||
else
|
else
|
||||||
Model.new
|
Model.new
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user