Skip to content

Commit

Permalink
Merge pull request #1 from humancopy/patch-1
Browse files Browse the repository at this point in the history
Fix for Rails 2.3+
  • Loading branch information
piotrmurach committed Apr 24, 2013
2 parents 41b9c41 + 348d4e2 commit 9723b39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rack/policy/extensions.rb
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@


elsif defined?(Rails::Initializer) elsif defined?(Rails::Initializer)
# Rails 2.3 # Rails 2.3
require 'action/view/base' require 'rack/policy/helpers'


ActionView::Base.send :include, Rack::Policy::Helpers ActionView::Base.send :include, Rack::Policy::Helpers
elsif defined?(Sinatra) elsif defined?(Sinatra)
Expand Down

0 comments on commit 9723b39

Please sign in to comment.