Module: ApplicationHelper

Defined in:
app/helpers/application_helper.rb

Instance Method Summary collapse

Instance Method Details

#titleObject

Renders dynamic page titles

Returns:

  • String


4
5
6
7
8
9
10
# File 'app/helpers/application_helper.rb', line 4

def title
  if @title.nil?
    "Remote Wind"
  else
    "#{@title} | Remote Wind"
  end
end