mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-24 15:56:20 +00:00
refactor: eliminar método que nunca se usó
This commit is contained in:
parent
2ac91e4faf
commit
a6dd963073
2 changed files with 0 additions and 8 deletions
|
@ -80,10 +80,6 @@ class MetadataBelongsTo < MetadataRelatedPosts
|
|||
posts.find_by(post_id: value_was)&.post if value_was.present?
|
||||
end
|
||||
|
||||
def related_posts?
|
||||
true
|
||||
end
|
||||
|
||||
def related_methods
|
||||
@related_methods ||= %i[belongs_to belonged_to].freeze
|
||||
end
|
||||
|
|
|
@ -171,10 +171,6 @@ MetadataTemplate = Struct.new(:site, :document, :name, :label, :type,
|
|||
true
|
||||
end
|
||||
|
||||
def related_posts?
|
||||
false
|
||||
end
|
||||
|
||||
# Métodos relacionados
|
||||
#
|
||||
# @return [Array]
|
||||
|
|
Loading…
Reference in a new issue