diff options
author | Emelia Smith <ThisIsMissEm@users.noreply.github.com> | 2018-04-02 13:45:07 +0200 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2018-04-02 13:45:07 +0200 |
commit | e7a17167015dca6864f31152c47334c3b3a857a2 (patch) | |
tree | d730dec63e23d3a4ba9bf98c0137bed2f994cb02 /app/helpers/admin | |
parent | 4fd71accd419fb79cc75e0ebf30df374d174ebf5 (diff) |
Implement the ability for an Administrator or Moderator to remove an account avatar (#6998)
Diffstat (limited to 'app/helpers/admin')
-rw-r--r-- | app/helpers/admin/action_logs_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/admin/action_logs_helper.rb b/app/helpers/admin/action_logs_helper.rb index 4475034a5..78278c700 100644 --- a/app/helpers/admin/action_logs_helper.rb +++ b/app/helpers/admin/action_logs_helper.rb @@ -86,7 +86,7 @@ module Admin::ActionLogsHelper opposite_verbs?(log) ? 'negative' : 'positive' when :update, :reset_password, :disable_2fa, :memorialize 'neutral' - when :demote, :silence, :disable, :suspend + when :demote, :silence, :disable, :suspend, :remove_avatar 'negative' when :destroy opposite_verbs?(log) ? 'positive' : 'negative' |