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