aboutsummaryrefslogtreecommitdiffstats
path: root/config/application.rb
diff options
context:
space:
mode:
authorLouise Crow <louise.crow@gmail.com>2014-10-14 13:29:49 +0100
committerLouise Crow <louise.crow@gmail.com>2014-10-28 08:40:21 +0000
commit5bb459de4ba327e54c97c75bf4ea660cc909efd4 (patch)
treee7d2e748adb6556700169782e175029a36fca755 /config/application.rb
parent074fcf036ad91ae57f82adf5c93d143e3fadabb3 (diff)
Allow resetting of the locale pattern on the locale routing filter.
An order-dependent error in locale integration tests (https://travis-ci.org/mysociety/alaveteli/jobs/37914013) showed that the routing filter pattern was not being updated from it's initial value when a new set of available locales was passed to AlaveteliLocalization.
Diffstat (limited to 'config/application.rb')
-rw-r--r--config/application.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/config/application.rb b/config/application.rb
index a514daf3a..ed4f07819 100644
--- a/config/application.rb
+++ b/config/application.rb
@@ -61,7 +61,6 @@ module Alaveteli
config.action_dispatch.rack_cache = nil
config.after_initialize do |app|
- require 'routing_filters.rb'
# Add a catch-all route to force routing errors to be handled by the application,
# rather than by middleware.
app.routes.append{ match '*path', :to => 'general#not_found' }