]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/node.rb
Use resourceful routes for granting/revoking user roles
[rails.git] / app / models / node.rb
index 825336d16e684ac25fb15c5f4f3294cd652d281d..1bec9a33cfa05968c040904182ab12b14e8e588f 100644 (file)
@@ -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