debian-mirror-gitlab/app/controllers/projects/work_items_controller.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

17 lines
524 B
Ruby
Raw Normal View History

2021-11-11 11:23:49 +05:30
# frozen_string_literal: true
class Projects::WorkItemsController < Projects::ApplicationController
before_action do
2022-06-21 17:19:12 +05:30
push_force_frontend_feature_flag(:work_items, project&.work_items_feature_flag_enabled?)
2022-08-27 11:52:29 +05:30
push_force_frontend_feature_flag(:work_items_mvc_2, project&.work_items_mvc_2_feature_flag_enabled?)
2022-07-23 23:45:48 +05:30
push_frontend_feature_flag(:work_items_hierarchy, project)
2021-11-11 11:23:49 +05:30
end
2022-06-21 17:19:12 +05:30
feature_category :team_planning
2022-07-16 23:28:13 +05:30
urgency :low
2021-11-11 11:23:49 +05:30
def index
2022-06-21 17:19:12 +05:30
render_404 unless project&.work_items_feature_flag_enabled?
2021-11-11 11:23:49 +05:30
end
end