diff options
author | Henare Degan <henare.degan@gmail.com> | 2013-02-22 15:57:43 +1100 |
---|---|---|
committer | Henare Degan <henare.degan@gmail.com> | 2013-02-22 15:57:43 +1100 |
commit | 9eceaa818d0394fa163a952f28aed16cb1cee257 (patch) | |
tree | 622dcdc65ff296551889cea10f2c3184f357d03e | |
parent | 4b4ee7091cc445f5786d191a7d8a3e48404e3e34 (diff) |
Add the routing filter back
-rw-r--r-- | config/routes.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb index b1c8d7fcc..601d4d4d2 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -157,5 +157,6 @@ Alaveteli::Application.routes.draw do match '/api/v2/request/:id.json' => 'api#show_request', :as => :api_show_request, :via => :get match '/api/v2/request/:id.json' => 'api#add_correspondence', :as => :api_add_correspondence, :via => :post match '/api/v2/body/:id/request_events.:feed_type' => 'api#body_request_events', :as => :api_body_request_events, :feed_type => '^(json|atom)$' - # match 'conditionallyprependlocale' => '#index', :as => :filter + + filter :conditionallyprependlocale end |