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?)
|
2021-09-08 06:10:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
feature_category :not_owned
|
|
|
|
|
|
|
|
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
|