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