Merge pull request #491 from internetee/registry-489

fix sorted_country list #489
This commit is contained in:
Georg 2017-04-28 23:58:17 +03:00 committed by GitHub
commit 321a120c9c

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