module Revelry::Content::WithRevelryContent

Public Instance Methods

content_scope() click to toggle source
# File lib/revelry/content/content_concern.rb, line 9
def content_scope
  Revelry::Content::Content.excluding_prefix('pages')
end
gather_contents() click to toggle source
# File lib/revelry/content/content_concern.rb, line 13
def gather_contents
  @revelry_content_contents =
    Revelry::Content::Content.as_lookup_table(content_scope)
end