minimagick agrega un parametro mas...

This commit is contained in:
f 2018-08-22 18:37:44 -03:00
parent 6d00ebdc21
commit 36cf2e89da
No known key found for this signature in database
GPG key ID: F3FDAB97B5F9F7E7

View file

@ -20,7 +20,7 @@ class Post::ImageUploader < CarrierWave::Uploader::Base
end
# Necesitamos pasar el sitio para poder acceder a los archivos locales
def initialize(site)
def initialize(site, wtf = nil)
super
@site = site