]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/old_way.rb
Merge remote-tracking branch 'upstream/pull/3768'
[rails.git] / app / models / old_way.rb
index acf88ddcf61bc61fab89f925a40be62f7c48509f..fcff84ededfe0727120794994b5afc5cdaf04ff6 100644 (file)
@@ -97,7 +97,7 @@ class OldWay < 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_way.version == version
   end
 end