summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2017-05-13 09:20:29 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2017-05-13 09:20:29 +0000
commit23dc61685066faab63f366fc5d7f88f985431359 (patch)
treedb4000125a8a56688c01c67838b920dcd99418fa /config
parentc7cff810e8060e2e887330451bba0536b3e8c2f5 (diff)
downloadredmine-23dc61685066faab63f366fc5d7f88f985431359.tar.gz
redmine-23dc61685066faab63f366fc5d7f88f985431359.zip
Moves project quick search to a dedicated action.
git-svn-id: http://svn.redmine.org/redmine/trunk@16550 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb
index ab1e1bcab..ae7c6c98a 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -101,6 +101,10 @@ Rails.application.routes.draw do
delete 'issues/:object_id/watchers/:user_id' => 'watchers#destroy', :object_type => 'issue'
resources :projects do
+ collection do
+ get 'autocomplete'
+ end
+
member do
get 'settings(/:tab)', :action => 'settings', :as => 'settings'
post 'modules'