diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2016-09-06 18:35:27 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2016-09-07 10:24:48 +0300 |
commit | ffdfdc27e5f7d72f7ed48ece2dc06154e0c5b49e (patch) | |
tree | 10a2dd20cbe9d4884ad98726df88e7846ec650e6 /app/helpers | |
parent | a449124a76c783f619c4b57e0c8380cdb3bb5c4c (diff) | |
download | gitlab-ce-ffdfdc27e5f7d72f7ed48ece2dc06154e0c5b49e.tar.gz |
Expand abbreviations in merge request version path helper
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/helpers')
-rw-r--r-- | app/helpers/merge_requests_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/merge_requests_helper.rb b/app/helpers/merge_requests_helper.rb index 1379180cb6e..08ceaf9b4ca 100644 --- a/app/helpers/merge_requests_helper.rb +++ b/app/helpers/merge_requests_helper.rb @@ -101,7 +101,7 @@ module MergeRequestsHelper return 'hidden' if merge_request.closed? == closed || (merge_request.merged? == closed && !merge_request.closed?) || merge_request.closed_without_fork? end - def mr_version_path(project, merge_request, merge_request_diff, start_sha = nil) + def merge_request_version_path(project, merge_request, merge_request_diff, start_sha = nil) diffs_namespace_project_merge_request_path( project.namespace, project, merge_request, diff_id: merge_request_diff.id, start_sha: start_sha) |