Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Rails 3 page title helper
def page_title(title=view_context.t('.title'))
content_tag(:h1, title)

This comment has been minimized.

Show comment
Hide comment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment