Class: PageSidebar
- Defined in:
- app/models/page_sidebar.rb
Instance Method Summary collapse
Methods inherited from Sidebar
#admin_state, apply_staging_on_active!, #content_partial, description, #description, #display_name, display_name, #fieldmap, #fields, #html_id, ordered_sidebars, #parse_request, path_name, #publish, purge, setting, short_name, #short_name, #to_locals_hash
Instance Method Details
#pages ⇒ Object
9 10 11 |
# File 'app/models/page_sidebar.rb', line 9 def pages @pages ||= Page.published.order(:title) end |