summaryrefslogtreecommitdiffstats
path: root/config/routes.rb
diff options
context:
space:
mode:
Diffstat (limited to 'config/routes.rb')
-rw-r--r--config/routes.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb
index d7ddac190..47451453f 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -311,7 +311,10 @@ Rails.application.routes.draw do
post 'update_issue_done_ratio'
end
end
- resources :custom_fields, :except => :show
+ resources :custom_fields, :except => :show do
+ resources :enumerations, :controller => 'custom_field_enumerations', :except => [:show, :new, :edit]
+ put 'enumerations', :to => 'custom_field_enumerations#update_each'
+ end
resources :roles do
collection do
match 'permissions', :via => [:get, :post]