Permalink
Browse files

Fix for Rails 2.3+

Was getting an error:

no such file to load -- action/view/base
  • Loading branch information...
1 parent 41b9c41 commit 348d4e2a5a81ed901c530fe49549176ff7dcc39e @humancopy humancopy committed Apr 24, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/rack/policy/extensions.rb
@@ -7,7 +7,7 @@
elsif defined?(Rails::Initializer)
# Rails 2.3
- require 'action/view/base'
+ require 'rack/policy/helpers'
ActionView::Base.send :include, Rack::Policy::Helpers
elsif defined?(Sinatra)

0 comments on commit 348d4e2

Please sign in to comment.