X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/abca51e4d8a51cb484598840a1b2459c651e1e67..95f6489ada91b117c5b21f1807ceb366b06d6066:/app/helpers/browse_helper.rb diff --git a/app/helpers/browse_helper.rb b/app/helpers/browse_helper.rb index 1e9465f80..0f533770b 100644 --- a/app/helpers/browse_helper.rb +++ b/app/helpers/browse_helper.rb @@ -1,5 +1,5 @@ module BrowseHelper - def printable_name(object, version = false) + def printable_name(object, version: false) id = if object.id.is_a?(Array) object.id[0] else