]> git.openstreetmap.org Git - rails.git/blob - config/initializers/uri_sanitizer.rb
use a controller method to handle cancan denials
[rails.git] / config / initializers / uri_sanitizer.rb
1 # Add URI sanitizer to rack middleware
2 Rails.configuration.middleware.insert_before Rack::Runtime, Rack::URISanitizer