Sha256: 06e0cfc6989d6caa5f012ebf9186ef821c169c3451fa159bb916dc9765b5994f

Contents?: true

Size: 298 Bytes

Versions: 2

Compression:

Stored size: 298 Bytes

Contents

# :nodoc:
module PageTitleHelper
  def page_title(options = {})
    page_title = Flutie::PageTitle.new(options)

    Flutie::PageTitlePresenter.new(
      page_title.app_name,
      content_for(page_title.page_title_symbol),
      page_title.separator,
      options[:reverse]
    ).to_s
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
flutie-2.2.0 lib/flutie/page_title_helper.rb
flutie-2.1.0 lib/flutie/page_title_helper.rb