From 2798ebbd5c27b1d9d22be5297915060ea11154f4 Mon Sep 17 00:00:00 2001 From: Matchu Date: Sat, 26 Jan 2013 09:52:21 -0600 Subject: [PATCH] fix pb filter for other locales --- app/models/item.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/item.rb b/app/models/item.rb index 404b1028..064223b9 100644 --- a/app/models/item.rb +++ b/app/models/item.rb @@ -99,7 +99,7 @@ class Item < ActiveRecord::Base end def pb? - (self.description == PAINTBRUSH_SET_DESCRIPTION) + I18n.with_locale(:en) { self.description == PAINTBRUSH_SET_DESCRIPTION } end def owned?