Commit 9ccf1d80 authored by Sean McGivern's avatar Sean McGivern

Add feature categories to controllers beginning with C

parent 9b0eecd8
......@@ -3,6 +3,8 @@
class ConfirmationsController < Devise::ConfirmationsController
include AcceptsPendingInvitations
feature_category :users, only: [:new, :show, :create, :almost_there]
def almost_there
flash[:notice] = nil
render layout: "devise_empty"
......
......@@ -23,7 +23,7 @@ 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')
next unless controller.to_s.start_with?('B', 'C')
"#{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