Module: Sinatra::PageTitleHelper

Defined in:
lib/visage-app/helpers.rb

Instance Method Summary collapse

Instance Method Details

#include_page_titleObject



32
33
34
# File 'lib/visage-app/helpers.rb', line 32

def include_page_title
  @page_title ? "#{@page_title} | Visage" : "Visage"
end

#page_title(string) ⇒ Object



28
29
30
# File 'lib/visage-app/helpers.rb', line 28

def page_title(string)
  @page_title = string
end