Sha256: c191ed952d5536503fa1c21cdafb7e7e70dc5a57cc107f9f0b8219273d0afb56
Contents?: true
Size: 288 Bytes
Versions: 19
Compression:
Stored size: 288 Bytes
Contents
# frozen_string_literal: true module PagesCore module FrontendHelper def root_pages @root_pages ||= Page.roots.localized(@locale).published end def root_page @root_page ||= root_pages.first end attr_reader :search_query, :search_category_id end end
Version data entries
19 entries across 19 versions & 1 rubygems