Commit 780f8065 authored by Sean McGivern's avatar Sean McGivern

Add feature categories to controllers beginning with H

parent 6a4b948b
......@@ -2,6 +2,7 @@
class HelpController < ApplicationController
skip_before_action :authenticate_user!, unless: :public_visibility_restricted?
feature_category :not_owned
layout 'help'
......
......@@ -24,7 +24,10 @@ RSpec.describe "Every controller" do
let_it_be(:routes_without_category) do
controller_actions.map do |controller, action|
next if controller.feature_category_for_action(action)
next unless controller.to_s.start_with?('B', 'C', 'D', 'E', 'F', 'Projects::MergeRequestsController')
next unless controller.to_s.start_with?('B', 'C', 'D', 'E', 'F',
'H',
'Projects::MergeRequestsController')
"#{controller}##{action}"
end.compact
......
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