diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-04-08 20:06:53 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-04-08 20:06:53 +0000 |
commit | d2cb9d5289e485a77a40899a43a2283ace7c957e (patch) | |
tree | 8153b475f3fa555d615c246779110a443ced1197 /config/routes.rb | |
parent | d427d8e5675ca21da25f8fefce6b8c2156f3b3d8 (diff) | |
download | redmine-d2cb9d5289e485a77a40899a43a2283ace7c957e.tar.gz redmine-d2cb9d5289e485a77a40899a43a2283ace7c957e.zip |
Adds missing route to project search.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9371 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'config/routes.rb')
-rw-r--r-- | config/routes.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb index 5cba46c00..51bb66cca 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -339,6 +339,7 @@ ActionController::Routing::Routes.draw do |map| map.resources :roles, :except => :show, :collection => {:permissions => [:get, :post]} map.resources :enumerations, :except => :show + map.connect 'projects/:id/search', :controller => 'search', :action => 'index', :conditions => {:method => :get} map.connect 'search', :controller => 'search', :action => 'index', :conditions => {:method => :get} map.connect 'mail_handler', :controller => 'mail_handler', |