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
f5bc387d
Commit
f5bc387d
authored
Jan 05, 2018
by
Rémy Coutable
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Resolve conflict in lib/api/entities.rb
Signed-off-by:
Rémy Coutable
<
remy@rymai.me
>
parent
ebb04aab
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
12 deletions
+10
-12
lib/api/entities.rb
lib/api/entities.rb
+10
-12
No files found.
lib/api/entities.rb
View file @
f5bc387d
...
@@ -894,25 +894,23 @@ module API
...
@@ -894,25 +894,23 @@ module API
expose
:id
expose
:id
expose
:project
,
using:
Entities
::
BasicProjectDetails
expose
:project
,
using:
Entities
::
BasicProjectDetails
<<<<<<<
HEAD
# EE-specific
# Default filtering configuration
expose
:name
expose
:group
expose
:milestone
,
using:
Entities
::
Milestone
,
if:
->
(
board
,
_
)
{
scoped_issue_available?
(
board
)
}
expose
:assignee
,
using:
Entities
::
UserBasic
,
if:
->
(
board
,
_
)
{
scoped_issue_available?
(
board
)
}
expose
:labels
,
using:
Entities
::
LabelBasic
,
if:
->
(
board
,
_
)
{
scoped_issue_available?
(
board
)
}
expose
:weight
,
if:
->
(
board
,
_
)
{
scoped_issue_available?
(
board
)
}
=======
>>>>>>>
upstream
/
master
expose
:lists
,
using:
Entities
::
List
do
|
board
|
expose
:lists
,
using:
Entities
::
List
do
|
board
|
board
.
lists
.
destroyable
board
.
lists
.
destroyable
end
end
# EE-specific START
def
scoped_issue_available?
(
board
)
def
scoped_issue_available?
(
board
)
board
.
parent
.
feature_available?
(
:scoped_issue_board
)
board
.
parent
.
feature_available?
(
:scoped_issue_board
)
end
end
# Default filtering configuration
expose
:name
expose
:group
expose
:milestone
,
using:
Entities
::
Milestone
,
if:
->
(
board
,
_
)
{
scoped_issue_available?
(
board
)
}
expose
:assignee
,
using:
Entities
::
UserBasic
,
if:
->
(
board
,
_
)
{
scoped_issue_available?
(
board
)
}
expose
:labels
,
using:
Entities
::
LabelBasic
,
if:
->
(
board
,
_
)
{
scoped_issue_available?
(
board
)
}
expose
:weight
,
if:
->
(
board
,
_
)
{
scoped_issue_available?
(
board
)
}
# EE-specific END
end
end
class
Compare
<
Grape
::
Entity
class
Compare
<
Grape
::
Entity
...
...
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