aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/sprockets
diff options
context:
space:
mode:
authorSantiago Pastorino <santiago@wyeworks.com>2011-07-25 19:06:30 -0300
committerSantiago Pastorino <santiago@wyeworks.com>2011-07-25 19:07:39 -0300
commitcb85d70d61705381a57cb99d8dcd4d7083f0a143 (patch)
tree2f11fa23d53b5a8291b5a78411afbfdb8de9f506 /actionpack/lib/sprockets
parentecd4f0b6ff8c54b9f247cd3c676c8d754baefdc3 (diff)
downloadrails-cb85d70d61705381a57cb99d8dcd4d7083f0a143.tar.gz
rails-cb85d70d61705381a57cb99d8dcd4d7083f0a143.tar.bz2
rails-cb85d70d61705381a57cb99d8dcd4d7083f0a143.zip
Remove unused use_sprockets config
Diffstat (limited to 'actionpack/lib/sprockets')
-rw-r--r--actionpack/lib/sprockets/railtie.rb7
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