Sha256: b0e89b14846e7967a5b5d1147a1cdff1838ae8313896a97aa2b019711e5e4857
Contents?: true
Size: 629 Bytes
Versions: 11
Compression:
Stored size: 629 Bytes
Contents
# frozen_string_literal: true module Maglev module StandaloneSectionsConcern extend ActiveSupport::Concern included do include Maglev::ServicesConcern include Maglev::FetchersConcern include Maglev::ContentLocaleConcern helper Maglev::PagePreviewHelper end private def fetch_maglev_site_scoped_sections fetch_maglev_site fetch_maglev_theme fetch_maglev_dummy_page fetch_maglev_page_sections end def fetch_maglev_dummy_page @fetch_maglev_page = ::Maglev::Page.new(title: 'DummyPage', sections: fetch_maglev_site.sections) end end end
Version data entries
11 entries across 11 versions & 1 rubygems