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
0
Merge Requests
0
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
Tatuya Kamada
gitlab-ce
Commits
da81add8
Commit
da81add8
authored
Jan 19, 2017
by
Dongqing Hu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
should pass in current_user from MergeRequestsHelper
parent
d0db7298
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
app/helpers/merge_requests_helper.rb
app/helpers/merge_requests_helper.rb
+2
-2
No files found.
app/helpers/merge_requests_helper.rb
View file @
da81add8
...
...
@@ -64,11 +64,11 @@ module MergeRequestsHelper
end
def
mr_closes_issues
@mr_closes_issues
||=
@merge_request
.
closes_issues
@mr_closes_issues
||=
@merge_request
.
closes_issues
(
current_user
)
end
def
mr_issues_mentioned_but_not_closing
@mr_issues_mentioned_but_not_closing
||=
@merge_request
.
issues_mentioned_but_not_closing
@mr_issues_mentioned_but_not_closing
||=
@merge_request
.
issues_mentioned_but_not_closing
(
current_user
)
end
def
mr_change_branches_path
(
merge_request
)
...
...
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