Commit da81add8 authored by Dongqing Hu's avatar Dongqing Hu

should pass in current_user from MergeRequestsHelper

parent d0db7298
...@@ -64,11 +64,11 @@ module MergeRequestsHelper ...@@ -64,11 +64,11 @@ module MergeRequestsHelper
end end
def mr_closes_issues def mr_closes_issues
@mr_closes_issues ||= @merge_request.closes_issues @mr_closes_issues ||= @merge_request.closes_issues(current_user)
end end
def mr_issues_mentioned_but_not_closing 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 end
def mr_change_branches_path(merge_request) def mr_change_branches_path(merge_request)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment