Commit 69b74228 authored by Jan Provaznik's avatar Jan Provaznik

Enable confidential_epics by default on update

This was forgotten when the flag was enabled by default on other places.
parent 1e4701d6
......@@ -13,7 +13,7 @@ module Epics
# start_date and end_date columns are no longer writable by users because those
# are composite fields managed by the system.
params.extract!(:start_date, :end_date)
params.extract!(:confidential) unless ::Feature.enabled?(:confidential_epics, group)
params.extract!(:confidential) unless ::Feature.enabled?(:confidential_epics, group, default_enabled: true)
update_task_event(epic) || update(epic)
......
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