lib/jt-rails-toolbox.rb in jt-rails-toolbox-1.2.1 vs lib/jt-rails-toolbox.rb in jt-rails-toolbox-1.2.2

- old
+ new

@@ -102,9 +102,11 @@ path = "#{@params['files']['folder']}/:class/:attachment/:id/:style/:fingerprint.:content_type_extension" Paperclip::Attachment.default_options[:path] = ":rails_root/public/#{path}" Paperclip::Attachment.default_options[:url] = "#{@params['hosts']['cdn_host']}#{path}" + + ActionController::Base.asset_host = @params['hosts']['asset_host'] app.config.action_controller.asset_host = @params['hosts']['asset_host'] end def configure_sidekiq(app) Sidekiq.configure_server do |config| \ No newline at end of file