Fix typo, it wasn't executing the filtering on tags

This commit is contained in:
chris committed 2013-10-07 19:01:59 +08:00
1 parent 061225f56c
commit fe1869199e
1 file changed
+1 -1
+1 -1
View File
@@ -321,7 +321,7 @@ class ApplicationController < ActionController::Base
a << object if (value.include?(object.category.id.to_s) rescue nil)
end
objects = a.uniq
when 'tag'
when 'tags'
a = Array.new
objects.each do |object|
object.tags.each do |tag|