diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2011-12-09 23:29:58 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2011-12-09 23:29:58 +0000 |
commit | 532a76f78c917d4391f4a8ecce9f8201b041d57d (patch) | |
tree | 184c676eaf6f1a867ac47197f5722a272d76858b /config | |
parent | b127f9157d456f233b320b349b415844eb632cb9 (diff) | |
download | redmine-532a76f78c917d4391f4a8ecce9f8201b041d57d.tar.gz redmine-532a76f78c917d4391f4a8ecce9f8201b041d57d.zip |
Resourcified roles.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8145 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'config')
-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 f17ad6f00..46b4654e4 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -185,6 +185,7 @@ ActionController::Routing::Routes.draw do |map| map.resources :trackers, :except => :show map.resources :issue_statuses, :except => :show, :collection => {:update_issue_done_ratio => :post} map.resources :custom_fields, :except => :show + map.resources :roles, :except => :show, :collection => {:permissions => [:get, :post]} #left old routes at the bottom for backwards compat map.connect 'boards/:board_id/topics/:action/:id', :controller => 'messages' |