5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-24 19:06:21 +00:00
panel/app/models/concerns/metadata/content_concern.rb
f 805225a093
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
feat: usar mixins para poder reciclar comportamiento #14433
2023-10-06 10:44:21 -03:00

17 lines
313 B
Ruby

# frozen_string_literal: true
module Metadata
# Mixin para campos que son el contenido de un documento
module ContentConcern
extend ActiveSupport::Concern
included do
# Son parte del contenido
#
# @return [Boolean]
def front_matter?
false
end
end
end
end