lib/refile/rails.rb in refile-0.3.0 vs lib/refile/rails.rb in refile-0.4.0
- old
+ new
@@ -21,9 +21,10 @@
ActionView::Base.send(:include, Refile::AttachmentHelper)
ActionView::Helpers::FormBuilder.send(:include, AttachmentFieldHelper)
end
initializer "refile.app" do
- Refile.app = Refile::App.new(logger: Rails.logger)
+ Refile.logger = Rails.logger
+ Refile.app = Refile::App.new
end
end
end