summaryrefslogtreecommitdiffstats
path: root/config/routes.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2011-07-06 16:57:04 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2011-07-06 16:57:04 +0000
commitd48ea908761d6489640e39667034d6e43524aaa7 (patch)
tree953e0de7e90342502f236fb701d27eb9d8edd353 /config/routes.rb
parentda69f086e7e0f1cfafc808d0d1174160dc1aa4a9 (diff)
downloadredmine-d48ea908761d6489640e39667034d6e43524aaa7.tar.gz
redmine-d48ea908761d6489640e39667034d6e43524aaa7.zip
Makes custom queries available through the REST API (#5737).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6186 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'config/routes.rb')
-rw-r--r--config/routes.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb
index dfac70dc5..3188c9fc4 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -77,6 +77,7 @@ ActionController::Routing::Routes.draw do |map|
end
map.resources :issue_moves, :only => [:new, :create], :path_prefix => '/issues', :as => 'move'
+ map.resources :queries, :only => [:index]
# Misc issue routes. TODO: move into resources
map.auto_complete_issues '/issues/auto_complete', :controller => 'auto_completes', :action => 'issues'