0
0
Fork 0

Local accounts can control "silenced" attribute which removes them from public timeline

This commit is contained in:
Eugen Rochko 2016-11-21 23:05:11 +01:00
parent 7abbb02824
commit 1788164352
5 changed files with 5 additions and 1 deletions

View file

@ -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