Commit 106c868f authored by Simon Knox's avatar Simon Knox

Merge branch 'ntepluhina-add-ff-guard' into 'master'

Added 404 route guard for work items

See merge request gitlab-org/gitlab!69978
parents 9f591b15 aa7460b4
......@@ -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