0
0
Fork 0

Fix Style/SuperArguments cop (#30406)

This commit is contained in:
Matt Jankowski 2024-05-24 04:36:21 -04:00 committed by GitHub
parent 9305caf1fd
commit 9b5055d34d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 6 additions and 6 deletions

View file

@ -44,7 +44,7 @@ class Auth::RegistrationsController < Devise::RegistrationsController
end
def build_resource(hash = nil)
super(hash)
super
resource.locale = I18n.locale
resource.invite_code = @invite&.code if resource.invite_code.blank?