diff options
Diffstat (limited to 'config/routes.rb')
-rw-r--r-- | config/routes.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config/routes.rb b/config/routes.rb index 3512b4cd4..7288b1a0d 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -28,7 +28,7 @@ ActionController::Routing::Routes.draw do |map| # and dots and other characters that can appear in search query. So we sort it all # out in the controller. general.search_general '/search/*combined/all', :action => 'search', :view => 'all' - general.search_general '/search/*combined', :action => 'search' + general.search_general '/search(/*combined)', :action => 'search' general.advanced_search '/advancedsearch', :action => 'search_redirect', :advanced => true general.random_request '/random', :action => 'random_request' @@ -58,7 +58,7 @@ ActionController::Routing::Routes.draw do |map| request.show_response_no_followup '/request/:id/response', :action => 'show_response' request.show_response '/request/:id/response/:incoming_message_id', :action => 'show_response' request.get_attachment_as_html '/request/:id/response/:incoming_message_id/attach/html/:part/*file_name', :action => 'get_attachment_as_html' - request.get_attachment '/request/:id/response/:incoming_message_id/attach/:part/*file_name', :action => 'get_attachment' + request.get_attachment '/request/:id/response/:incoming_message_id/attach/:part(/*file_name)', :action => 'get_attachment' request.info_request_event '/request_event/:info_request_event_id', :action => 'show_request_event' |