diff --git a/app/models/post/image_uploader.rb b/app/models/post/image_uploader.rb index 160015a5..6170ffb2 100644 --- a/app/models/post/image_uploader.rb +++ b/app/models/post/image_uploader.rb @@ -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