diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/environment.rb | 3 | ||||
-rw-r--r-- | config/routes.rb | 1 |
2 files changed, 1 insertions, 3 deletions
diff --git a/config/environment.rb b/config/environment.rb index 7a6c5433f..a3c93db53 100644 --- a/config/environment.rb +++ b/config/environment.rb @@ -34,9 +34,6 @@ Rails::Initializer.run do |config| MySociety::Config.set_file(File.join(config.root_path, 'config', 'general'), true) MySociety::Config.load_default - # fallback locale - I18n.default_locale = :en - # Settings in config/environments/* take precedence over those specified here # Skip frameworks you're not going to use (only works if using vendor/rails) diff --git a/config/routes.rb b/config/routes.rb index 008f9bfe4..2bf8e87fb 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -147,6 +147,7 @@ ActionController::Routing::Routes.draw do |map| map.with_options :controller => 'admin_request' do |admin| admin.admin_request_list_old_unclassified '/admin/unclassified', :action => 'list_old_unclassified' + admin.admin_request_index '/admin/request', :action => 'index' admin.admin_request_list '/admin/request/list', :action => 'list' admin.admin_request_show '/admin/request/show/:id', :action => 'show' admin.admin_request_resend '/admin/request/resend', :action => 'resend' |