diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2019-11-23 00:06:19 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2019-11-23 00:06:19 +0300 |
commit | 69a23cbee136eda0ab37874399421e6865cfc76b (patch) | |
tree | a6c94293a789bb2bdcbd6d8caf7a79dbac2ebee0 /app/presenters | |
parent | ea4762d464bb36f3e36e318db47086e41f493377 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/presenters')
-rw-r--r-- | app/presenters/release_presenter.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/app/presenters/release_presenter.rb b/app/presenters/release_presenter.rb index 65034158a06..b38bbc8d96c 100644 --- a/app/presenters/release_presenter.rb +++ b/app/presenters/release_presenter.rb @@ -58,7 +58,6 @@ class ReleasePresenter < Gitlab::View::Presenter::Delegated end def release_edit_page_available? - ::Feature.enabled?(:release_edit_page, project, default_enabled: true) && - can?(current_user, :update_release, release) + can?(current_user, :update_release, release) end end |