Skip to content

Commit

Permalink
Fix extensions in Rails 2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrmurach committed Apr 24, 2013
1 parent 9723b39 commit 9d80d40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rack/policy/extensions.rb
Expand Up @@ -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)
Expand Down

0 comments on commit 9d80d40

Please sign in to comment.