X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/aef7439c56cc26ec3faa22aa851f6ed80e5fb691..cabee400321555597cfa3b8a348d702ee758d530:/app/models/old_node.rb diff --git a/app/models/old_node.rb b/app/models/old_node.rb index 4f5f074ab..077039ac3 100644 --- a/app/models/old_node.rb +++ b/app/models/old_node.rb @@ -103,7 +103,7 @@ class OldNode < ApplicationRecord # check whether this element is the latest version - that is, # has the same version as its "current" counterpart. - def is_latest_version? + def latest_version? current_node.version == version end end