summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb1
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'