Commit aa7460b4 authored by NataliaTepluhina's avatar NataliaTepluhina

Added 404 guard for FF

parent 4acc0443
......@@ -8,5 +8,6 @@ class Projects::WorkItemsController < Projects::ApplicationController
feature_category :not_owned
def index
render_404 unless Feature.enabled?(:work_items, project, default_enabled: :yaml)
end
end
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