diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2016-11-21 23:05:11 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2016-11-21 23:06:41 +0100 |
commit | 1788164352db23917c540e42a839908ecc4e0463 (patch) | |
tree | 58c7a35aadd7abd7ce76eddd40579c311122cda3 /app/controllers | |
parent | 7abbb02824faff2c889197df0e45c11bd9aeca07 (diff) |
Local accounts can control "silenced" attribute which removes them from public timeline
Diffstat (limited to 'app/controllers')
-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 deff8fc7e..4b2b5a131 100644 --- a/app/controllers/settings/profiles_controller.rb +++ b/app/controllers/settings/profiles_controller.rb @@ -20,7 +20,7 @@ class Settings::ProfilesController < ApplicationController private def account_params - params.require(:account).permit(:display_name, :note, :avatar, :header) + params.require(:account).permit(:display_name, :note, :avatar, :header, :silenced) end def set_account |