Commit bddf5186 authored by Sean McGivern's avatar Sean McGivern

Add feature categories to controllers beginning with N

parent 1038bc79
...@@ -3,6 +3,8 @@ ...@@ -3,6 +3,8 @@
class NotificationSettingsController < ApplicationController class NotificationSettingsController < ApplicationController
before_action :authenticate_user! before_action :authenticate_user!
feature_category :users
def create def create
return render_404 unless can_read?(resource) return render_404 unless can_read?(resource)
......
...@@ -26,7 +26,8 @@ RSpec.describe "Every controller" do ...@@ -26,7 +26,8 @@ RSpec.describe "Every controller" do
next if controller.feature_category_for_action(action) next if controller.feature_category_for_action(action)
next unless controller.to_s.start_with?('B', 'C', 'D', 'E', 'F', next unless controller.to_s.start_with?('B', 'C', 'D', 'E', 'F',
'H', 'I', 'J', 'H', 'I', 'J', 'K', 'L',
'M', 'N',
'Projects::MergeRequestsController') 'Projects::MergeRequestsController')
"#{controller}##{action}" "#{controller}##{action}"
......
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