summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2015-10-02 13:46:38 +0200
committerKamil Trzcinski <ayufan@ayufan.eu>2015-10-05 09:52:35 +0200
commit546a3c6561fbe967cc37ccc3229b71893cd20c34 (patch)
tree0828ab3fb82e2b03921a8f4d1f745f430bae4bd6 /config
parent0de7c83a78711601b40b5a739070da2e3af29b11 (diff)
downloadgitlab-ce-546a3c6561fbe967cc37ccc3229b71893cd20c34.tar.gz
Refactor commit and build
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb10
1 files changed, 4 insertions, 6 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 6d96d8801cd..56087e489f5 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -30,12 +30,10 @@ Gitlab::Application.routes.draw do
resource :charts, only: [:show]
- resources :refs, constraints: { ref_id: /.*/ }, only: [] do
- resources :commits, only: [:show] do
- member do
- get :status
- get :cancel
- end
+ resources :commits, only: [:show] do
+ member do
+ get :status
+ get :cancel
end
end