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
ac3e9c2a
Commit
ac3e9c2a
authored
May 04, 2017
by
Oswaldo Ferreira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove "reference" from ListService issues
parent
08492fdc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
4 deletions
+0
-4
app/services/related_issues/list_service.rb
app/services/related_issues/list_service.rb
+0
-1
spec/services/related_issues/list_service_spec.rb
spec/services/related_issues/list_service_spec.rb
+0
-3
No files found.
app/services/related_issues/list_service.rb
View file @
ac3e9c2a
...
...
@@ -12,7 +12,6 @@ module RelatedIssues
title:
referenced_issue
.
title
,
iid:
referenced_issue
.
iid
,
state:
referenced_issue
.
state
,
reference:
referenced_issue
.
to_reference
(
@issue
.
project
),
project_full_path:
referenced_issue
.
project
.
full_path
,
namespace_full_path:
referenced_issue
.
project
.
namespace
.
full_path
,
path:
namespace_project_issue_path
(
referenced_issue
.
project
.
namespace
,
referenced_issue
.
project
,
referenced_issue
.
iid
),
...
...
spec/services/related_issues/list_service_spec.rb
View file @
ac3e9c2a
...
...
@@ -48,7 +48,6 @@ describe RelatedIssues::ListService, service: true do
title:
issue_b
.
title
,
iid:
issue_b
.
iid
,
state:
issue_b
.
state
,
reference:
issue_b
.
to_reference
(
project
),
path:
"/
#{
project
.
full_path
}
/issues/
#{
issue_b
.
iid
}
"
,
project_full_path:
issue_b
.
project
.
full_path
,
namespace_full_path:
issue_b
.
project
.
namespace
.
full_path
,
...
...
@@ -61,7 +60,6 @@ describe RelatedIssues::ListService, service: true do
title:
issue_c
.
title
,
iid:
issue_c
.
iid
,
state:
issue_c
.
state
,
reference:
issue_c
.
to_reference
(
project
),
path:
"/
#{
project
.
full_path
}
/issues/
#{
issue_c
.
iid
}
"
,
project_full_path:
issue_c
.
project
.
full_path
,
namespace_full_path:
issue_c
.
project
.
namespace
.
full_path
,
...
...
@@ -74,7 +72,6 @@ describe RelatedIssues::ListService, service: true do
title:
issue_d
.
title
,
iid:
issue_d
.
iid
,
state:
issue_d
.
state
,
reference:
issue_d
.
to_reference
(
project
),
path:
"/
#{
project
.
full_path
}
/issues/
#{
issue_d
.
iid
}
"
,
project_full_path:
issue_d
.
project
.
full_path
,
namespace_full_path:
issue_d
.
project
.
namespace
.
full_path
,
...
...
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