Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
abf0d4b3
Commit
abf0d4b3
authored
Aug 22, 2018
by
Rémy Coutable
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Resolve config/routes.rb
Signed-off-by:
Rémy Coutable
<
remy@rymai.me
>
parent
62e53989
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
10 deletions
+0
-10
config/routes.rb
config/routes.rb
+0
-10
No files found.
config/routes.rb
View file @
abf0d4b3
...
...
@@ -27,7 +27,6 @@ Rails.application.routes.draw do
authorizations:
'oauth/authorizations'
end
<<<<<<<
HEAD
# 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
scope
path:
'/login/oauth'
,
controller:
'oauth/jira/authorizations'
,
as: :oauth_jira
do
...
...
@@ -46,15 +45,6 @@ Rails.application.routes.draw do
end
end
=======
# This is here so we can "reserve" the path for the Jira integration in GitLab EE
# Having a non-existent controller here does not affect the scope in any way since all possible routes
# get a 404 proc returned. It is written in this way to minimize merge conflicts with EE
scope
path:
'/login/oauth'
,
controller:
'oauth/jira/authorizations'
,
as: :oauth_jira
do
match
':action'
,
via:
[
:get
,
:post
],
to:
proc
{
[
404
,
{},
[
''
]]
}
end
>>>>>>>
upstream
/
master
use_doorkeeper_openid_connect
# Autocomplete
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment