X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/99ccffe4a9c0521d1202c4f0f1a37f8ef2dc0634..9d106676b8b122b5458360c28e9ab14363d11aea:/lib/country.rb diff --git a/lib/country.rb b/lib/country.rb index 48a721a49..3af7e0a21 100644 --- a/lib/country.rb +++ b/lib/country.rb @@ -9,7 +9,7 @@ class Country @max_lon = max_lon end - def self.find_by_code(code) + def self.find(code) countries[code] end