diff options
Diffstat (limited to 'app/presenters/release_presenter.rb')
-rw-r--r-- | app/presenters/release_presenter.rb | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/app/presenters/release_presenter.rb b/app/presenters/release_presenter.rb index dac42af38bf..fc47ece6199 100644 --- a/app/presenters/release_presenter.rb +++ b/app/presenters/release_presenter.rb @@ -1,14 +1,8 @@ # frozen_string_literal: true class ReleasePresenter < Gitlab::View::Presenter::Delegated - include ActionView::Helpers::UrlHelper - 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? |