Update duplicated `feature_categories.yml` references to `Gitlab::FeatureCategories.categories`
Description
In !67800 (merged), we introduced a method which reads from config/feature_categories.yml
and returns a set of all known feature categories.
Throughout the codebase, we do this duplicate this quite a bit. Let's update all references to config/feature_categories.yml
to the new Gitlab::FeatureCategories.categories
method.
Context
The following discussion from !67800 (merged) should be addressed:
-
@pslaughter started a discussion: todo: Let's create a follow-up issue to update all the duplicated references to
Rails.root.join('config', 'feature_categories.yml')
with a reference to::Gitlab::FeatureCategories.categories
.
Edited by Paul Slaughter