Commit 98b7340c authored by Markus Koller's avatar Markus Koller

Merge branch 'issue_341231' into 'master'

Remove delegate as it's redundant due to SimpleDelegator

See merge request gitlab-org/gitlab!75883
parents 5fd6326e 46d5c76e
......@@ -3,10 +3,6 @@
class ReleasePresenter < Gitlab::View::Presenter::Delegated
presents ::Release, as: :release
# TODO: Remove `delegate` as it's redundant due to SimpleDelegator.
delegator_override :tag, :project
delegate :project, :tag, to: :release
def commit_path
return unless release.commit && can_download_code?
......
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