Sha256: 3d7c542585050b78f2728ef1aa7f475f7b51544a3b7946207a4a64e1f26afe60
Contents?: true
Size: 389 Bytes
Versions: 3
Compression:
Stored size: 389 Bytes
Contents
# encoding: utf-8 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 attr_reader :search_category_id def comment_honeypot_field text_field_tag "email", "", class: "comment_email" end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
pages_core-3.4.3 | app/helpers/pages_core/frontend_helper.rb |
pages_core-3.5.1 | app/helpers/pages_core/frontend_helper.rb |
pages_core-3.4.2 | app/helpers/pages_core/frontend_helper.rb |