module Sinatra::PageTitleHelper

Public Instance Methods

include_page_title() click to toggle source
# File lib/visage-app/helpers.rb, line 32
def include_page_title
  @page_title ? "#{@page_title} | Visage" : "Visage"
end
page_title(string) click to toggle source
# File lib/visage-app/helpers.rb, line 28
def page_title(string)
  @page_title = string
end