diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-03-06 03:08:08 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-03-06 03:08:08 +0000 |
commit | a6011c3d70e0e8ac318ba6629183c44f8614c4df (patch) | |
tree | a3d21394d63c47448998c89f01eb88e57c0ed8ce /app/controllers | |
parent | ffc757a7a92535559c20eb706593f7358d9bf589 (diff) | |
download | gitlab-ce-a6011c3d70e0e8ac318ba6629183c44f8614c4df.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/controllers')
-rw-r--r-- | app/controllers/projects/releases_controller.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/projects/releases_controller.rb b/app/controllers/projects/releases_controller.rb index d5f93c4baf6..d1f4b2653c5 100644 --- a/app/controllers/projects/releases_controller.rb +++ b/app/controllers/projects/releases_controller.rb @@ -8,7 +8,7 @@ class Projects::ReleasesController < Projects::ApplicationController before_action do push_frontend_feature_flag(:release_issue_summary, project) push_frontend_feature_flag(:release_evidence_collection, project, default_enabled: true) - push_frontend_feature_flag(:release_show_page, project) + push_frontend_feature_flag(:release_show_page, project, default_enabled: true) end before_action :authorize_update_release!, only: %i[edit update] before_action :authorize_read_release_evidence!, only: [:evidence] @@ -31,7 +31,7 @@ class Projects::ReleasesController < Projects::ApplicationController end def show - return render_404 unless Feature.enabled?(:release_show_page, project) + return render_404 unless Feature.enabled?(:release_show_page, project, default_enabled: true) respond_to do |format| format.html do |