From 1433068ad951045a3440d58b86e9489001ff3774 Mon Sep 17 00:00:00 2001
From: Jacob Vosmaer <contact@jacobvosmaer.nl>
Date: Thu, 24 Mar 2016 16:28:18 +0100
Subject: [PATCH] Remove useles only:

---
 config/routes.rb | 6 +++---
 1 file 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:
-- 
GitLab