Update rubocop to version 1.76.0 (#34926)
This commit is contained in:
@@ -138,7 +138,7 @@ class Auth::RegistrationsController < Devise::RegistrationsController
|
||||
set_locale { render :rules }
|
||||
end
|
||||
|
||||
def is_flashing_format? # rubocop:disable Naming/PredicateName
|
||||
def is_flashing_format? # rubocop:disable Naming/PredicatePrefix
|
||||
if params[:action] == 'create'
|
||||
false # Disable flash messages for sign-up
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user