Commit 7728df66 authored by Kirill Smelkov's avatar Kirill Smelkov

fixup! NXD Teach GitLab about patches

Upstream changed and simplified UrlBuilder interface:

See:

    - 02cfbf0d (Refactor and expose only Gitlab::UrlBuilder.build(record)
    - https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/3696
parent 2a771bd3
...@@ -443,7 +443,7 @@ class MergeRequest < ActiveRecord::Base ...@@ -443,7 +443,7 @@ class MergeRequest < ActiveRecord::Base
message << "\n\n" message << "\n\n"
message << description.to_s message << description.to_s
message << "\n\n" if !description.to_s.empty? message << "\n\n" if !description.to_s.empty?
message << "/reviewed-on #{Gitlab::UrlBuilder.new(:merge_request).build(id)}" message << "/reviewed-on #{Gitlab::UrlBuilder.build(self)}"
message message
end end
......
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