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
c863fcbc
Commit
c863fcbc
authored
Oct 30, 2016
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Resolve conflict in config/routes/group.rb
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
f62e396e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
46 deletions
+25
-46
config/routes/group.rb
config/routes/group.rb
+25
-46
No files found.
config/routes/group.rb
View file @
c863fcbc
...
...
@@ -12,8 +12,8 @@ constraints(GroupUrlConstrainer.new) do
end
end
<<<<<<<
HEAD
resources
:groups
,
constraints:
{
id:
/[a-zA-Z.0-9_\-]+(?<!\.atom)/
}
do
scope
constraints:
{
id:
/[a-zA-Z.0-9_\-]+(?<!\.atom)/
}
do
resources
:groups
,
except:
[
:show
]
do
member
do
get
:issues
get
:merge_requests
...
...
@@ -55,28 +55,7 @@ resources :groups, constraints: { id: /[a-zA-Z.0-9_\-]+(?<!\.atom)/ } do
end
end
## EE-specific
=======
scope
constraints:
{
id:
/[a-zA-Z.0-9_\-]+(?<!\.atom)/
}
do
resources
:groups
,
except:
[
:show
]
do
member
do
get
:issues
get
:merge_requests
get
:projects
get
:activity
end
scope
module: :groups
do
resources
:group_members
,
only:
[
:index
,
:create
,
:update
,
:destroy
],
concerns: :access_requestable
do
post
:resend_invite
,
on: :member
delete
:leave
,
on: :collection
end
resource
:avatar
,
only:
[
:destroy
]
resources
:milestones
,
constraints:
{
id:
/[^\/]+/
},
only:
[
:index
,
:show
,
:update
,
:new
,
:create
]
resources
:labels
,
except:
[
:show
],
constraints:
{
id:
/\d+/
}
end
end
get
'groups/:id'
=>
'groups#show'
,
as: :group_canonical
>>>>>>>
144358e98
ee1b25b61854a3471e21e100ace9db5
end
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