diff options
Diffstat (limited to 'config/routes.rb')
-rw-r--r-- | config/routes.rb | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/config/routes.rb b/config/routes.rb index 2c505693d..ca9d77590 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -221,9 +221,7 @@ RedmineApp::Application.routes.draw do :to => 'repositories#changes' get 'projects/:id/repository/:repository_id/revisions/:rev', :to => 'repositories#revision' - match 'projects/:id/repository/:repository_id/revision', - :to => 'repositories#revision', - :via => [:get, :post] + get 'projects/:id/repository/:repository_id/revision', :to => 'repositories#revision' post 'projects/:id/repository/:repository_id/revisions/:rev/issues', :to => 'repositories#add_related_issue' delete 'projects/:id/repository/:repository_id/revisions/:rev/issues/:issue_id', :to => 'repositories#remove_related_issue' get 'projects/:id/repository/:repository_id/revisions', :to => 'repositories#revisions' @@ -243,8 +241,7 @@ RedmineApp::Application.routes.draw do get 'projects/:id/repository/revisions', :to => 'repositories#revisions' get 'projects/:id/repository/revisions/:rev', :to => 'repositories#revision' - match 'projects/:id/repository/revision', :to => 'repositories#revision', - :via => [:get, :post] + get 'projects/:id/repository/revision', :to => 'repositories#revision' post 'projects/:id/repository/revisions/:rev/issues', :to => 'repositories#add_related_issue' delete 'projects/:id/repository/revisions/:rev/issues/:issue_id', :to => 'repositories#remove_related_issue' get 'projects/:id/repository/revisions/:rev/:action(/*path(.:ext))', |