2021-09-08 06:10:46 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
class Projects::WorkItemsController < Projects::ApplicationController
|
|
|
|
before_action do
|
2022-03-23 15:08:38 +00:00
|
|
|
push_force_frontend_feature_flag(:work_items, project&.work_items_feature_flag_enabled?)
|
2022-07-25 09:09:05 +00:00
|
|
|
push_force_frontend_feature_flag(:work_items_mvc_2, project&.work_items_mvc_2_feature_flag_enabled?)
|
2022-05-26 06:08:37 +00:00
|
|
|
push_frontend_feature_flag(:work_items_hierarchy, project)
|
2021-09-08 06:10:46 +00:00
|
|
|
end
|
|
|
|
|
2022-04-05 12:10:23 +00:00
|
|
|
feature_category :team_planning
|
2022-05-13 15:07:43 +00:00
|
|
|
urgency :low
|
2021-09-08 06:10:46 +00:00
|
|
|
|
|
|
|
def index
|
2022-03-23 15:08:38 +00:00
|
|
|
render_404 unless project&.work_items_feature_flag_enabled?
|
2021-09-08 06:10:46 +00:00
|
|
|
end
|
|
|
|
end
|