Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Replace on_load with instance_eval

  • Loading branch information...
commit 04dfaf74eecca0745efa3e45636d76524380d6f6 1 parent 4888a36
@rubys rubys authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/sprockets/railtie.rb
View
2  lib/sprockets/railtie.rb
@@ -81,7 +81,7 @@ def configure(&block)
app.assets.append_path path
end
- ActiveSupport.on_load(:action_view) do
+ ActionView::Base.instance_eval do
include Sprockets::Rails::Helper
# Copy relevant config to AV context
Please sign in to comment.
Something went wrong with that request. Please try again.