about summary refs log tree commit diff
path: root/app/helpers/admin
diff options
context:
space:
mode:
authorEmelia Smith <ThisIsMissEm@users.noreply.github.com>2018-04-02 13:45:07 +0200
committerEugen Rochko <eugen@zeonfederated.com>2018-04-02 13:45:07 +0200
commite7a17167015dca6864f31152c47334c3b3a857a2 (patch)
treed730dec63e23d3a4ba9bf98c0137bed2f994cb02 /app/helpers/admin
parent4fd71accd419fb79cc75e0ebf30df374d174ebf5 (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.rb2
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'