summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2011-11-20 14:25:58 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2011-11-20 14:25:58 +0000
commit248b7258751cd7e41bc84f5ed9d18f05dc8413c3 (patch)
tree1114c99868803ac2d35535d98f4287f7fac6abcc /config
parent053adaef52d795e5a3ef134381dd378e40856775 (diff)
downloadredmine-248b7258751cd7e41bc84f5ed9d18f05dc8413c3.tar.gz
redmine-248b7258751cd7e41bc84f5ed9d18f05dc8413c3.zip
Adds API response to /issue_statuses to get the list of all available statuses (#7180).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7878 e93f8b46-1217-0410-a6f0-8f06a7374b81
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 209db1e89..7106be9d5 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -228,6 +228,7 @@ ActionController::Routing::Routes.draw do |map|
#left old routes at the bottom for backwards compat
map.connect 'trackers.:format', :controller => 'trackers', :action => 'index'
+ 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'