Delegate Account#user_locale method and allow nil (#2927)
This commit is contained in:
parent
cd830a2fab
commit
7a7d12d27f
4 changed files with 5 additions and 6 deletions
|
@ -111,6 +111,7 @@ class Account < ApplicationRecord
|
|||
:current_sign_in_ip,
|
||||
:current_sign_in_at,
|
||||
:confirmed?,
|
||||
:locale,
|
||||
to: :user,
|
||||
prefix: true,
|
||||
allow_nil: true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue