X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/abca51e4d8a51cb484598840a1b2459c651e1e67..f47eeb0632d63b5f305e52d3758a38044b350a20:/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