Commit dc255db1 authored by Albert Salim's avatar Albert Salim

Move feature flag to EE extension

parent e520e164
......@@ -46,7 +46,6 @@ class Projects::IssuesController < Projects::ApplicationController
before_action do
push_frontend_feature_flag(:vue_issuable_sidebar, project.group)
push_frontend_feature_flag(:save_issuable_health_status, project.group, default_enabled: true)
end
before_action only: :show do
......
......@@ -11,6 +11,10 @@ module EE
before_action :check_service_desk_available!, only: [:service_desk]
before_action :whitelist_query_limiting_ee, only: [:update]
before_action do
push_frontend_feature_flag(:save_issuable_health_status, project.group, default_enabled: true)
end
end
override :issue_except_actions
......
......@@ -13,7 +13,6 @@ describe 'Issue Sidebar' do
let!(:xss_label) { create(:label, project: project, title: '&lt;script&gt;alert("xss");&lt;&#x2F;script&gt;') }
before do
stub_feature_flags(save_issuable_health_status: false)
sign_in(user)
end
......
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