diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2018-06-17 18:57:31 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-17 18:57:31 +0200 |
commit | a58ec29631f74259364dc71b408a8d66df657149 (patch) | |
tree | edc8613a80d7e762d96f2ea1a25273276618aa32 /app/models | |
parent | bb21c6414db64739637b4ea81526efe8e539cce0 (diff) |
Allow selecting default posting language instead of auto-detect (#7828)
* Allow selecting default posting language instead of auto-detect * Enable default language setting in credentials API * Fix form saving
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/user.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/user.rb b/app/models/user.rb index c95960dc6..c820c553a 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -89,7 +89,7 @@ class User < ApplicationRecord delegate :auto_play_gif, :default_sensitive, :unfollow_modal, :boost_modal, :delete_modal, :reduce_motion, :system_font_ui, :noindex, :theme, :display_sensitive_media, :hide_network, - to: :settings, prefix: :setting, allow_nil: false + :default_language, to: :settings, prefix: :setting, allow_nil: false attr_accessor :invite_code |