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 cc493c22c..7779c6d95 100644
--- a/app/controllers/filters/statuses_controller.rb
+++ b/app/controllers/filters/statuses_controller.rb
@@ -38,9 +38,7 @@ class Filters::StatusesController < ApplicationController
   end
 
   def action_from_button
-    if params[:remove]
-      'remove'
-    end
+    'remove' if params[:remove]
   end
 
   def set_body_classes