summaryrefslogtreecommitdiff
path: root/app/presenters/commit_presenter.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/presenters/commit_presenter.rb')
-rw-r--r--app/presenters/commit_presenter.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/presenters/commit_presenter.rb b/app/presenters/commit_presenter.rb
index 94fc8ac8e39..9ded00fcb7a 100644
--- a/app/presenters/commit_presenter.rb
+++ b/app/presenters/commit_presenter.rb
@@ -18,7 +18,7 @@ class CommitPresenter < Gitlab::View::Presenter::Delegated
end
def web_url
- Gitlab::UrlBuilder.new(commit).url
+ url_builder.build(commit)
end
def signature_html