Change “privacy and reach” settings so that unchecking boxes always increase privacy and checking them always increase reach (#26508)
This commit is contained in:
parent
0446394465
commit
cc4560d95b
4 changed files with 20 additions and 7 deletions
|
@ -18,7 +18,7 @@ class Settings::PrivacyController < Settings::BaseController
|
|||
private
|
||||
|
||||
def account_params
|
||||
params.require(:account).permit(:discoverable, :locked, :hide_collections, settings: UserSettings.keys)
|
||||
params.require(:account).permit(:discoverable, :unlocked, :show_collections, settings: UserSettings.keys)
|
||||
end
|
||||
|
||||
def set_account
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue