diff options
author | multiple creatures <dev@multiple-creature.party> | 2019-04-25 12:37:40 -0500 |
---|---|---|
committer | multiple creatures <dev@multiple-creature.party> | 2019-05-21 03:16:22 -0500 |
commit | 9d4f42fb893c2129aa9f7aa9d012112af3646cae (patch) | |
tree | e64554e653d02195b5a220974ff3f635c7892cb4 /app/controllers/settings | |
parent | fb449f273a04545043a792b9fa63fdcc5b6b60b1 (diff) |
Add option to hide public replies from profile
Diffstat (limited to 'app/controllers/settings')
-rw-r--r-- | app/controllers/settings/profiles_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/settings/profiles_controller.rb b/app/controllers/settings/profiles_controller.rb index 423d0f13e..0ad5e6c3d 100644 --- a/app/controllers/settings/profiles_controller.rb +++ b/app/controllers/settings/profiles_controller.rb @@ -25,7 +25,7 @@ class Settings::ProfilesController < Settings::BaseController private def account_params - params.require(:account).permit(:display_name, :note, :avatar, :header, :locked, :hidden, :bot, :discoverable, fields_attributes: [:name, :value]) + params.require(:account).permit(:display_name, :note, :avatar, :header, :replies, :locked, :hidden, :bot, :discoverable, fields_attributes: [:name, :value]) end def set_account |