app/helpers/application_helper.rb
# adds the page name to the title followed by default 'SharetheRide'
adds the page name to the title followed by default 'SharetheRide'
adds the page name to the title followed by default ' SharetheRide '
def full_title(page_title)
        base_title = 'ShareTheRide'
        if page_title.empty?
            base_title
        else
            page_title + ' | ' + base_title
        end
    end
def full_title ( page_title ) base_title = 'ShareTheRide' if page_title . empty? base_title else page_title + ' | ' + base_title end end
adds the page name to the title followed by default 'SharetheRide'
adds the page name to the title followed by default ' SharetheRide '
page_title
<not_specific>