Commit 6fa3ef87 authored by Jan Provaznik's avatar Jan Provaznik

Fixed routes conflict

parent d42af3cc
...@@ -30,7 +30,6 @@ Rails.application.routes.draw do ...@@ -30,7 +30,6 @@ Rails.application.routes.draw do
# This prefixless path is required because Jira gets confused if we set it up with a path # This prefixless path is required because Jira gets confused if we set it up with a path
# More information: https://gitlab.com/gitlab-org/gitlab-ee/issues/6752 # More information: https://gitlab.com/gitlab-org/gitlab-ee/issues/6752
scope path: '/login/oauth', controller: 'oauth/jira/authorizations', as: :oauth_jira do scope path: '/login/oauth', controller: 'oauth/jira/authorizations', as: :oauth_jira do
<<<<<<< HEAD
get :authorize, action: :new get :authorize, action: :new
get :callback get :callback
post :access_token post :access_token
...@@ -44,9 +43,6 @@ Rails.application.routes.draw do ...@@ -44,9 +43,6 @@ Rails.application.routes.draw do
get 'callback' get 'callback'
get 'logout' get 'logout'
end end
=======
match '*all', via: [:get, :post], to: proc { [404, {}, ['']] }
>>>>>>> upstream/master
end end
use_doorkeeper_openid_connect use_doorkeeper_openid_connect
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment