Permalink
Browse files

Fix extensions in Rails 2.3

  • Loading branch information...
1 parent 9723b39 commit 9d80d409df4365e3d7b6ed8f5c5dcaeec5b29f95 @piotrmurach 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 'rack/policy/helpers'
+ require 'action_view/base'
ActionView::Base.send :include, Rack::Policy::Helpers
elsif defined?(Sinatra)

0 comments on commit 9d80d40

Please sign in to comment.