mirror of
https://github.com/internetee/registry.git
synced 2025-07-22 18:56:05 +02:00
fix sorted_country list #489
This commit is contained in:
parent
34e66bb259
commit
26f1ef9537
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ class SortedCountry
|
|||
|
||||
def 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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue