Remove node.tags_as_hash method
This commit is contained in:
parent
3267a3c55c
commit
7f9cccf038
2 changed files with 0 additions and 8 deletions
|
@ -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
|
||||
|
|
|
@ -85,10 +85,6 @@ class OldNode < ApplicationRecord
|
|||
|
||||
attr_writer :tags
|
||||
|
||||
def tags_as_hash
|
||||
tags
|
||||
end
|
||||
|
||||
# Pretend we're not in any ways
|
||||
def ways
|
||||
[]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue