Module: Pageflow::OverviewHelper

Defined in:
app/helpers/pageflow/overview_helper.rb

Instance Method Summary collapse

Instance Method Details

#overview_page_description(page) ⇒ Object



3
4
5
6
7
8
9
# File 'app/helpers/pageflow/overview_helper.rb', line 3

def overview_page_description(page)
  if page.configuration['description'].present?
    raw(page.configuration['description'])
  else
    page.title
  end
end