From b901859264088026b264edc7e292dfea7087310e Mon Sep 17 00:00:00 2001 From: albert Date: Thu, 28 Feb 2013 10:19:59 -0800 Subject: [PATCH] fix mod actionl isting --- app/models/mod_action.rb | 4 ---- 1 file changed, 4 deletions(-) diff --git a/app/models/mod_action.rb b/app/models/mod_action.rb index 1ded0d168..97013ef2f 100644 --- a/app/models/mod_action.rb +++ b/app/models/mod_action.rb @@ -10,10 +10,6 @@ class ModAction < ActiveRecord::Base q = q.where("creator_id = ?", params[:creator_id].to_i) end - if params[:all].blank? - q = q.where("description not like ") - end - q end