Method: Blazer::BaseHelper#blazer_title

Defined in:
app/helpers/blazer/base_helper.rb

#blazer_title(title = nil) ⇒ Object



3
4
5
6
7
8
9
# File 'app/helpers/blazer/base_helper.rb', line 3

def blazer_title(title = nil)
  if title
    content_for(:title) { title }
  else
    content_for?(:title) ? content_for(:title) : nil
  end
end