blob: 1bd2762f2773090c00dabd52540ea643ea356432 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
# frozen_string_literal: true
class Projects::WorkItemsController < Projects::ApplicationController
before_action do
push_frontend_feature_flag(:work_items, project, default_enabled: :yaml)
end
feature_category :not_owned
def index
render_404 unless Feature.enabled?(:work_items, project, default_enabled: :yaml)
end
end
|