fix pb filter for other locales
This commit is contained in:
parent
c1c7162451
commit
2798ebbd5c
1 changed files with 1 additions and 1 deletions
|
@ -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?
|
||||||
|
|
Loading…
Reference in a new issue