mirror of
https://github.com/internetee/registry.git
synced 2025-07-01 08:43:37 +02:00
Merge pull request #491 from internetee/registry-489
fix sorted_country list #489
This commit is contained in:
commit
321a120c9c
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue