diff options
Diffstat (limited to 'config/routes.rb')
-rw-r--r-- | config/routes.rb | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/config/routes.rb b/config/routes.rb index 3dfa30d5a..a238e2102 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -20,7 +20,6 @@ ActionController::Routing::Routes.draw do |map| map.with_options :controller => 'general' do |general| general.frontpage '/', :action => 'frontpage' general.blog '/blog', :action => 'blog' - general.custom_css '/stylesheets/custom.css', :action => 'custom_css' general.search_redirect '/search', :action => 'search_redirect' # XXX combined is the search query, and then if sorted a "/newest" at the end. # Couldn't find a way to do this in routes which also picked up multiple other slashes @@ -104,10 +103,9 @@ ActionController::Routing::Routes.draw do |map| body.show_public_body_successful "/body/:url_name/successful", :action => 'show', :view => "successful" body.show_public_body_unsuccessful "/body/:url_name/unsuccessful", :action => 'show', :view => "unsuccessful" body.show_public_body_awaiting "/body/:url_name/awaiting", :action => 'show', :view => "awaiting" + body.view_public_body_email "/body/:url_name/view_email", :action => 'view_email' body.show_public_body_tag "/body/:url_name/:tag", :action => 'show' body.show_public_body_tag_view "/body/:url_name/:tag/:view", :action => 'show' - - body.view_public_body_email "/body/:url_name/view_email", :action => 'view_email' end map.with_options :controller => 'comment' do |comment| @@ -137,7 +135,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_alaveteli '/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' |