summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2011-11-22 22:04:07 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2011-11-22 22:04:07 +0000
commit68f3e91bd7030c7ac0a33bb0bfa36b30a3645d32 (patch)
tree8ce266a8db5e8be17e8013db3f1098354d4b9d9a /config
parent35e8f0d25d97622034dcebcec0524ceff708bf12 (diff)
downloadredmine-68f3e91bd7030c7ac0a33bb0bfa36b30a3645d32.tar.gz
redmine-68f3e91bd7030c7ac0a33bb0bfa36b30a3645d32.zip
Resourcified issue statuses.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7890 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 813399187..9d3a2175c 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -223,9 +223,9 @@ ActionController::Routing::Routes.draw do |map|
map.resources :groups
map.resources :trackers, :except => :show
+ map.resources :issue_statuses, :except => :show, :collection => {:update_issue_done_ratio => :post}
#left old routes at the bottom for backwards compat
- map.connect 'issue_statuses.:format', :controller => 'issue_statuses', :action => 'index'
map.connect 'projects/:project_id/issues/:action', :controller => 'issues'
map.connect 'projects/:project_id/documents/:action', :controller => 'documents'
map.connect 'projects/:project_id/boards/:action/:id', :controller => 'boards'