diff options
author | multiple creatures <dev@multiple-creature.party> | 2019-10-27 14:02:05 -0500 |
---|---|---|
committer | multiple creatures <dev@multiple-creature.party> | 2019-10-27 14:02:05 -0500 |
commit | af9b9777af9601bb2de857e6e4fea0b07d699108 (patch) | |
tree | 52d5135e5d8b2e00b64fa8b4db73d176714af251 /app/controllers/settings | |
parent | 50401161a55fc46cbfcc4e9bcb7834f5482c05a8 (diff) |
add profile option to (locally) block anonymous views of public posts
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 aa593a016..afd525cc0 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, :replies, :locked, :hidden, :unlisted, :gently, :kobold, :adult_content, :bot, :discoverable, fields_attributes: [:name, :value]) + params.require(:account).permit(:display_name, :note, :avatar, :header, :replies, :locked, :hidden, :unlisted, :block_anon, :gently, :kobold, :adult_content, :bot, :discoverable, fields_attributes: [:name, :value]) end def set_account |