diff options
Diffstat (limited to 'railties/lib/rails/application')
-rw-r--r-- | railties/lib/rails/application/finisher.rb | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/railties/lib/rails/application/finisher.rb b/railties/lib/rails/application/finisher.rb index bae464a840..838e50de6c 100644 --- a/railties/lib/rails/application/finisher.rb +++ b/railties/lib/rails/application/finisher.rb @@ -36,18 +36,13 @@ module Rails initializer :add_sprockets_route do |app| assets = config.assets if assets.enabled + build_asset_environment app.routes.append do mount app.assets => assets.prefix end end end - initializer :set_sprockets_logger do |app| - if config.assets.enabled - app.assets.logger = Rails.logger - end - end - initializer :index_sprockets_environment do |app| if config.assets.enabled && config.action_controller.perform_caching app.assets = app.assets.index |