diff --git a/app/controllers/user/registrations_controller.rb b/app/controllers/user/registrations_controller.rb index fbfe1f81..721225dc 100644 --- a/app/controllers/user/registrations_controller.rb +++ b/app/controllers/user/registrations_controller.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true class User::RegistrationsController < Devise::RegistrationsController - before_action :redirect_if_registrations_disabled!, only: %w[create new] + before_action :redirect_if_registrations_disabled!, only: %w[create new] # rubocop:disable Rails/LexicallyScopedActionFilter def create if captcha_valid?