diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2011-11-27 10:47:36 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2011-11-27 10:47:36 +0000 |
commit | f680e7f8acc14257bb585ef43a0a0572bdef0bdd (patch) | |
tree | e0fe19b2c70adaf75dd79b46f784c002ffcb9748 /config | |
parent | 1ebe9640a6b7a8d06627bb73452955d09cd965e0 (diff) | |
download | redmine-f680e7f8acc14257bb585ef43a0a0572bdef0bdd.tar.gz redmine-f680e7f8acc14257bb585ef43a0a0572bdef0bdd.zip |
Adds routes for group users.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7946 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'config')
-rw-r--r-- | config/routes.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb index 9d3a2175c..dd21ef27b 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -221,7 +221,10 @@ ActionController::Routing::Routes.draw do |map| map.connect 'attachments/:id/:filename', :controller => 'attachments', :action => 'show', :id => /\d+/, :filename => /.*/ map.connect 'attachments/download/:id/:filename', :controller => 'attachments', :action => 'download', :id => /\d+/, :filename => /.*/ - map.resources :groups + map.resources :groups, :member => {:autocomplete_for_user => :get} + map.group_users 'groups/:id/users', :controller => 'groups', :action => 'add_users', :id => /\d+/, :conditions => {:method => :post} + map.group_user 'groups/:id/users/:user_id', :controller => 'groups', :action => 'remove_user', :id => /\d+/, :conditions => {:method => :delete} + map.resources :trackers, :except => :show map.resources :issue_statuses, :except => :show, :collection => {:update_issue_done_ratio => :post} |