Module: PageTitleHelper

Defined in:
lib/flutie/page_title_helper.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#page_title(options = {}) ⇒ Object



3
4
5
6
7
8
9
10
11
12
# File 'lib/flutie/page_title_helper.rb', line 3

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