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