X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/abca51e4d8a51cb484598840a1b2459c651e1e67..97d2c223aa4706054b1219d30c1ea048a2805872:/app/helpers/browse_helper.rb?ds=inline 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