summaryrefslogtreecommitdiff
path: root/app/presenters
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2019-11-22 21:06:19 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2019-11-22 21:06:19 +0000
commit69a23cbee136eda0ab37874399421e6865cfc76b (patch)
treea6c94293a789bb2bdcbd6d8caf7a79dbac2ebee0 /app/presenters
parentea4762d464bb36f3e36e318db47086e41f493377 (diff)
downloadgitlab-ce-69a23cbee136eda0ab37874399421e6865cfc76b.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/presenters')
-rw-r--r--app/presenters/release_presenter.rb3
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