1
0
Fork 0
forked from OpenNeo/impress

fix pb filter for other locales

This commit is contained in:
Emi Matchu 2013-01-26 09:52:21 -06:00
parent c1c7162451
commit 2798ebbd5c

View file

@ -99,7 +99,7 @@ class Item < ActiveRecord::Base
end end
def pb? def pb?
(self.description == PAINTBRUSH_SET_DESCRIPTION) I18n.with_locale(:en) { self.description == PAINTBRUSH_SET_DESCRIPTION }
end end
def owned? def owned?