Fix rubocop

This commit is contained in:
KMY 2024-07-05 07:34:53 +09:00
parent 6b59ce6985
commit efa0c376bc
23 changed files with 32 additions and 32 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?