]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/old_node.rb
Bump eslint from 8.38.0 to 8.39.0
[rails.git] / app / models / old_node.rb
index 4f5f074abf4b65600db82cc9de719bf736f30494..077039ac33c2e13c5e0e8f702f1d0d520e2fbd9c 100644 (file)
@@ -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