diff options
author | Jacob Vosmaer <contact@jacobvosmaer.nl> | 2016-03-24 16:28:18 +0100 |
---|---|---|
committer | Jacob Vosmaer <contact@jacobvosmaer.nl> | 2016-03-24 16:28:18 +0100 |
commit | 1433068ad951045a3440d58b86e9489001ff3774 (patch) | |
tree | 861964144c31b090a13a74ec1c20bba68dc8ab84 | |
parent | 0f8fe93c26f00eac14cbc33e9ed2e2260b7014cc (diff) | |
download | gitlab-ce-1433068ad951045a3440d58b86e9489001ff3774.tar.gz |
Remove useles only:
-rw-r--r-- | config/routes.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/config/routes.rb b/config/routes.rb index eace7516e91..40c149abda2 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -428,9 +428,9 @@ Rails.application.routes.draw do scope module: :projects do # Git HTTP clients ('git clone' etc.) scope constraints: { format: /(git|wiki\.git)/ } do - get '/info/refs', to: 'git_http#info_refs', only: :get - post '/git-upload-pack', to: 'git_http#git_upload_pack', only: :post - post '/git-receive-pack', to: 'git_http#git_receive_pack', only: :post + get '/info/refs', to: 'git_http#info_refs' + post '/git-upload-pack', to: 'git_http#git_upload_pack' + post '/git-receive-pack', to: 'git_http#git_receive_pack' end # Blob routes: |