X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/d8a2794c2c0be24cf78945cdbf4af57c4468499c..e89a78fff858d5db07f6959a39dd9655dc46008e:/app/models/node.rb?ds=sidebyside diff --git a/app/models/node.rb b/app/models/node.rb index 825336d16..1bec9a33c 100644 --- a/app/models/node.rb +++ b/app/models/node.rb @@ -199,10 +199,6 @@ class Node < ApplicationRecord save_with_history! end - def tags_as_hash - tags - end - def tags @tags ||= node_tags.to_h { |t| [t.k, t.v] } end