1
0
Fork 0
forked from OpenNeo/impress

stop removing "item" from zone plain labels: background vs. backgrounditem

This commit is contained in:
Emi Matchu 2013-01-25 10:47:47 -06:00
parent d0dffd6cff
commit e6d9e5ee75

View file

@ -23,10 +23,6 @@ class Zone < ActiveRecord::Base
end
def self.plainify_label(label)
plain_label = label.delete('\- /').downcase
if plain_label.end_with?('item')
plain_label = plain_label[0..-5]
end
plain_label
label.delete('\- /').downcase
end
end