about summary refs log tree commit diff
path: root/app/models
diff options
context:
space:
mode:
authorMatt Jankowski <mjankowski@thoughtbot.com>2017-05-08 17:10:50 -0400
committerEugen Rochko <eugen@zeonfederated.com>2017-05-08 23:10:50 +0200
commit7a7d12d27f16370c3789aa97514da25c6e91ae4c (patch)
tree4c908050df715f94d06d4728a0d203a19de911b0 /app/models
parentcd830a2fab3f3c640daeb55e024324b56c079557 (diff)
Delegate Account#user_locale method and allow nil (#2927)
Diffstat (limited to 'app/models')
-rw-r--r--app/models/account.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/account.rb b/app/models/account.rb
index a28dc967f..c2dc77d93 100644
--- a/app/models/account.rb
+++ b/app/models/account.rb
@@ -111,6 +111,7 @@ class Account < ApplicationRecord
            :current_sign_in_ip,
            :current_sign_in_at,
            :confirmed?,
+           :locale,
            to: :user,
            prefix: true,
            allow_nil: true