summaryrefslogtreecommitdiff
path: root/config/routes.rb
diff options
context:
space:
mode:
authorJames Lopez <james@jameslopez.es>2016-05-17 09:40:49 +0200
committerJames Lopez <james@jameslopez.es>2016-05-17 09:40:49 +0200
commitf48184cbc6d8951156ac5af6821f0a47dbc1c588 (patch)
treed10974d5c8a8ef4222d0b67e9f3df3ddcd6c6c9d /config/routes.rb
parent279915253c9116c8658d1fafffd7efb74ee249d7 (diff)
downloadgitlab-ce-f48184cbc6d8951156ac5af6821f0a47dbc1c588.tar.gz
updated routes for gitlab_projects
Diffstat (limited to 'config/routes.rb')
-rw-r--r--config/routes.rb6
1 files changed, 2 insertions, 4 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 8ad0b4874df..ad44c8f05b2 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -159,10 +159,8 @@ Rails.application.routes.draw do
post :create_user_map, path: :user_map
end
- resource :gitlab_project, only: [:create, :new], controller: :gitlab_projects do
- get :status
- get :callback
- get :jobs
+ resource :gitlab_project, only: [:create, :new] do
+ post :create
end
end