lib/jt-rails-toolbox.rb in jt-rails-toolbox-1.1.4 vs lib/jt-rails-toolbox.rb in jt-rails-toolbox-1.1.5

- old
+ new

@@ -87,10 +87,10 @@ def configure_mail(app) ActionMailer::Base.delivery_method = @params['mail']['delivery_method'] ActionMailer::Base.smtp_settings = @params['mail']['smtp_settings'] ActionMailer::Base.default_url_options[:host] = @params['hosts']['host'] ActionMailer::Base.default from: @params['mail']['from'] - app.config.action_mailer.asset_host = @params['hosts']['asset_host'] + ActionMailer::Base.asset_host = @params['hosts']['asset_host'] end def configure_paperclip(app) # Strip meta data from images Paperclip::Attachment.default_options[:convert_options] = { all: '-strip' } \ No newline at end of file