public
Last active — forked from DanThiffault/application_helper.rb

Rails 3 page title helper

  • Download Gist
application_helper.rb
Ruby
1 2 3
def page_title(title=view_context.t('.title'))
content_tag(:h1, title)
end

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.