Update rubocop to version 1.76.0 (#34926)
This commit is contained in:
parent
1fdcaaebbb
commit
1297ad759e
10 changed files with 14 additions and 11 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue