about summary refs log tree commit diff
path: root/app/controllers/filters
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/filters')
-rw-r--r--app/controllers/filters/statuses_controller.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/app/controllers/filters/statuses_controller.rb b/app/controllers/filters/statuses_controller.rb
index 4f63de7b6..86d11fcb9 100644
--- a/app/controllers/filters/statuses_controller.rb
+++ b/app/controllers/filters/statuses_controller.rb
@@ -43,9 +43,7 @@ class Filters::StatusesController < ApplicationController
   end
 
   def action_from_button
-    if params[:remove]
-      'remove'
-    end
+    'remove' if params[:remove]
   end
 
   def set_body_classes