summaryrefslogtreecommitdiff
path: root/app/presenters/release_presenter.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/presenters/release_presenter.rb')
-rw-r--r--app/presenters/release_presenter.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/presenters/release_presenter.rb b/app/presenters/release_presenter.rb
index b38bbc8d96c..099ac9b09cd 100644
--- a/app/presenters/release_presenter.rb
+++ b/app/presenters/release_presenter.rb
@@ -40,7 +40,7 @@ class ReleasePresenter < Gitlab::View::Presenter::Delegated
def evidence_file_path
return unless release.evidence.present?
- evidence_project_release_url(project, tag, format: :json)
+ evidence_project_release_url(project, release.to_param, format: :json)
end
private