Commit 3f67dd45 authored by Nathan Friend's avatar Nathan Friend

Enable "new_release_page" feature flag by default

This commit updates the "new_release_page" feature flag to be enabled by
default, effectively releasing the "New Release" page.
parent cd36b8c8
......@@ -29,7 +29,7 @@ class Projects::ReleasesController < Projects::ApplicationController
end
def new
unless Feature.enabled?(:new_release_page, project)
unless Feature.enabled?(:new_release_page, project, default_enabled: true)
redirect_to(new_project_tag_path(@project))
end
end
......
......@@ -19,7 +19,7 @@ module ReleasesHelper
documentation_path: help_page
}.tap do |data|
if can?(current_user, :create_release, @project)
data[:new_release_path] = if Feature.enabled?(:new_release_page, @project)
data[:new_release_path] = if Feature.enabled?(:new_release_page, @project, default_enabled: true)
new_project_release_path(@project)
else
new_project_tag_path(@project)
......
---
title: Add "New Release" page to allow creation of releases through the interface
merge_request: 38913
author:
type: added
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