]> git.openstreetmap.org Git - rails.git/blob - vendor/plugins/http_accept_language/init.rb
The list_bbox_rss won't work at all without a bbox. Thow an error when it's not supplied
[rails.git] / vendor / plugins / http_accept_language / init.rb
1 if defined?(ActionController::Request)
2   ActionController::Request.send :include, HttpAcceptLanguage
3 elsif defined?(ActionController::AbstractRequest)
4   ActionController::AbstractRequest.send :include, HttpAcceptLanguage
5 else
6   ActionController::CgiRequest.send :include, HttpAcceptLanguage
7 end