diff options
author | Seb Bacon <seb.bacon@gmail.com> | 2011-08-26 09:48:01 +0100 |
---|---|---|
committer | Seb Bacon <seb.bacon@gmail.com> | 2011-08-29 09:44:33 +0100 |
commit | 5f0c0d59ded4301efa085c4103b84a42a9fa61f6 (patch) | |
tree | f759c7d7fee8a7004b5d94b5144d37fe512534cf /config/routes.rb | |
parent | d5384ba1b739c7ca3a8fcab4cdda35965d33c6ee (diff) |
Further work in progress on better search functionality
Diffstat (limited to 'config/routes.rb')
-rw-r--r-- | config/routes.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb index 87d20925c..48ad16fc2 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -23,7 +23,8 @@ ActionController::Routing::Routes.draw do |map| # Couldn't find a way to do this in routes which also picked up multiple other slashes # 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', :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' |