Created — forked from DanThiffault/application_helper.rb

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist

Rails 3 page title helper

View application_helper.rb
1 2 3
def page_title(title=view_context.t('.title'))
content_tag(:h1, title)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.