Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix extensions in Rails 2.3

  • Loading branch information...
commit 9d80d409df4365e3d7b6ed8f5c5dcaeec5b29f95 1 parent 9723b39
Piotr Murach authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/rack/policy/extensions.rb
2  lib/rack/policy/extensions.rb
View
@@ -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)
Please sign in to comment.
Something went wrong with that request. Please try again.