summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2014-09-13 10:49:31 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2014-09-13 10:49:31 +0000
commitbc7d39115fc517f479ce5b81a632c76450fa2241 (patch)
tree18719209436dd24e1beb24a36baeaa52602cb6e7 /config
parent77b0abb79cb81ae1f4bbbe3c2e5a2f78631b09a8 (diff)
downloadredmine-bc7d39115fc517f479ce5b81a632c76450fa2241.tar.gz
redmine-bc7d39115fc517f479ce5b81a632c76450fa2241.zip
Makes sys#fetch_changesets accept POST requests (#17077).
git-svn-id: http://svn.redmine.org/redmine/trunk@13392 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 6be563d3f..c9aea1961 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -336,7 +336,7 @@ RedmineApp::Application.routes.draw do
match 'sys/projects', :to => 'sys#projects', :via => :get
match 'sys/projects/:id/repository', :to => 'sys#create_project_repository', :via => :post
- match 'sys/fetch_changesets', :to => 'sys#fetch_changesets', :via => :get
+ match 'sys/fetch_changesets', :to => 'sys#fetch_changesets', :via => [:get, :post]
match 'uploads', :to => 'attachments#upload', :via => :post