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
This commit is contained in:
parent
bb21c6414d
commit
a58ec29631
10 changed files with 19 additions and 3 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue