X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/aef7439c56cc26ec3faa22aa851f6ed80e5fb691..2a1689f9621b7ec94e4935ea11fe64a45390ef7d:/app/models/old_node.rb?ds=sidebyside 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