diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2015-10-25 08:32:47 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2015-10-25 08:32:47 +0000 |
commit | 2f51dc11cfdf9cdbd2c67ec12cf93f4b112646bc (patch) | |
tree | 0216d3fe5705f74909c477e9fcca56438e0fed5f /config/routes.rb | |
parent | 934a7615c427caf120b5386e62aa159b8d79949f (diff) | |
download | redmine-2f51dc11cfdf9cdbd2c67ec12cf93f4b112646bc.tar.gz redmine-2f51dc11cfdf9cdbd2c67ec12cf93f4b112646bc.zip |
Adds Enumeration custom field format (#21060).
Similar to List format but stores possible values as records.
git-svn-id: http://svn.redmine.org/redmine/trunk@14745 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'config/routes.rb')
-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 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] |