fix sorted_country list #489

This commit is contained in:
Georg Kahest 2017-04-28 23:46:40 +03:00
parent 34e66bb259
commit 26f1ef9537

View file

@ -37,7 +37,7 @@ class SortedCountry
def all_sorted_truncated def all_sorted_truncated
@all_sorted_truncated ||= @all_sorted_truncated ||=
all_sorted.map { |country| [truncate(name, length: 26), country.alpha2] } all_sorted.map { |country| [country.name.truncate(26), country.alpha2] }
end end
end end
end end