From 3a32edc3bd108ed07ef2802fbf13dcc886d76607 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sun, 2 Sep 2012 16:55:16 +0000 Subject: Adds a view for editing all trackers fields. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10283 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- config/routes.rb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'config') diff --git a/config/routes.rb b/config/routes.rb index d904c9b9e..a7e0bdc56 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -278,7 +278,11 @@ RedmineApp::Application.routes.draw do match 'groups/destroy_membership/:id', :controller => 'groups', :action => 'destroy_membership', :id => /\d+/, :via => :post match 'groups/edit_membership/:id', :controller => 'groups', :action => 'edit_membership', :id => /\d+/, :via => :post - resources :trackers, :except => :show + resources :trackers, :except => :show do + collection do + match 'fields', :via => [:get, :post] + end + end resources :issue_statuses, :except => :show do collection do post 'update_issue_done_ratio' -- cgit v1.2.3