diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/environment.rb | 1 | ||||
-rw-r--r-- | config/routes.rb | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/config/environment.rb b/config/environment.rb index 0c49e5e3c..2f7967cdc 100644 --- a/config/environment.rb +++ b/config/environment.rb @@ -145,3 +145,4 @@ require 'sendmail_return_path.rb' require 'tnef.rb' require 'i18n_fixes.rb' require 'rack_quote_monkeypatch.rb' +require 'world_foi_websites.rb' diff --git a/config/routes.rb b/config/routes.rb index 6f13c7bc3..1fa2f8aa0 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -109,6 +109,10 @@ ActionController::Routing::Routes.draw do |map| comment.new_comment "/annotate/request/:url_title", :action => 'new', :type => 'request' end + map.with_options :controller => 'services' do |service| + service.other_country_message "/country_message", :action => 'other_country_message' + end + map.with_options :controller => 'track' do |track| # /track/ is for setting up an email alert for the item # /feed/ is a direct RSS feed of the item @@ -128,6 +132,7 @@ ActionController::Routing::Routes.draw do |map| map.with_options :controller => 'help' do |help| help.help_unhappy '/help/unhappy/:url_title', :action => 'unhappy' help.help_about '/help/about', :action => 'about' + help.help_about '/help/alaveteli', :action => 'alaveteli' help.help_contact '/help/contact', :action => 'contact' help.help_officers '/help/officers', :action => 'officers' help.help_requesting '/help/requesting', :action => 'requesting' |