diff options
author | Santiago Pastorino <santiago@wyeworks.com> | 2011-07-25 19:06:30 -0300 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2011-08-13 16:22:15 -0700 |
commit | 5b5b22acb5b652a802f2ce36979d452cd1bf52a4 (patch) | |
tree | 5d6de83f90f0ce1655452981822ecef788834660 /actionpack/lib/sprockets/railtie.rb | |
parent | 19ac034bdc9be175eff7cf54208ba14b43d97681 (diff) | |
download | rails-5b5b22acb5b652a802f2ce36979d452cd1bf52a4.tar.gz rails-5b5b22acb5b652a802f2ce36979d452cd1bf52a4.tar.bz2 rails-5b5b22acb5b652a802f2ce36979d452cd1bf52a4.zip |
Remove unused use_sprockets config
Diffstat (limited to 'actionpack/lib/sprockets/railtie.rb')
-rw-r--r-- | actionpack/lib/sprockets/railtie.rb | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/actionpack/lib/sprockets/railtie.rb b/actionpack/lib/sprockets/railtie.rb index c8d6af942d..83799d2b4d 100644 --- a/actionpack/lib/sprockets/railtie.rb +++ b/actionpack/lib/sprockets/railtie.rb @@ -11,13 +11,6 @@ module Sprockets load "sprockets/assets.rake" end - # Configure ActionController to use sprockets. - initializer "sprockets.set_configs", :after => "action_controller.set_configs" do |app| - ActiveSupport.on_load(:action_controller) do - self.use_sprockets = app.config.assets.enabled - end - end - # We need to configure this after initialization to ensure we collect # paths from all engines. This hook is invoked exactly before routes # are compiled, and so that other Railties have an opportunity to |