Sha256: 83de11f244068e95f26ae88e71cb169e1a141b379d780390794ee51665197125

Contents?: true

Size: 237 Bytes

Versions: 74

Compression:

Stored size: 237 Bytes

Contents

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

Version data entries

74 entries across 74 versions & 1 rubygems

Version Path
pageflow-17.0.4 app/helpers/pageflow/overview_helper.rb
pageflow-17.0.3 app/helpers/pageflow/overview_helper.rb
pageflow-17.0.2 app/helpers/pageflow/overview_helper.rb
pageflow-17.0.1 app/helpers/pageflow/overview_helper.rb
pageflow-17.0.0 app/helpers/pageflow/overview_helper.rb
pageflow-16.2.0 app/helpers/pageflow/overview_helper.rb
pageflow-16.1.0 app/helpers/pageflow/overview_helper.rb
pageflow-16.0.0 app/helpers/pageflow/overview_helper.rb
pageflow-15.8.0 app/helpers/pageflow/overview_helper.rb
pageflow-14.5.2 app/helpers/pageflow/overview_helper.rb
pageflow-15.7.1 app/helpers/pageflow/overview_helper.rb
pageflow-15.7.0 app/helpers/pageflow/overview_helper.rb
pageflow-15.6.1 app/helpers/pageflow/overview_helper.rb
pageflow-15.6.0 app/helpers/pageflow/overview_helper.rb
pageflow-15.5.0 app/helpers/pageflow/overview_helper.rb
pageflow-15.4.0 app/helpers/pageflow/overview_helper.rb
pageflow-15.3.0 app/helpers/pageflow/overview_helper.rb
pageflow-15.2.2 app/helpers/pageflow/overview_helper.rb
pageflow-15.2.1 app/helpers/pageflow/overview_helper.rb
pageflow-15.2.0 app/helpers/pageflow/overview_helper.rb