]> git.openstreetmap.org Git - rails.git/blob - vendor/plugins/http_accept_language/init.rb
Bounding boxes are sanitised on creation now
[rails.git] / vendor / plugins / http_accept_language / init.rb
1 if defined?(ActionDispatch::Request)
2   ActionDispatch::Request.send :include, HttpAcceptLanguage
3 elsif defined?(ActionController::Request)
4   ActionController::Request.send :include, HttpAcceptLanguage
5 elsif defined?(ActionController::AbstractRequest)
6   ActionController::AbstractRequest.send :include, HttpAcceptLanguage
7 else
8   ActionController::CgiRequest.send :include, HttpAcceptLanguage
9 end