From 7a7d12d27f16370c3789aa97514da25c6e91ae4c Mon Sep 17 00:00:00 2001 From: Matt Jankowski Date: Mon, 8 May 2017 17:10:50 -0400 Subject: Delegate Account#user_locale method and allow nil (#2927) --- app/models/account.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'app/models') 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 -- cgit