Whats the proper way to set the page title in rails 3. Currently I\'m doing the following:
app/views/layouts/application.html:
you could a simple helper:
def title(page_title) content_for :title, page_title.to_s end
use it in your layout:
<title><%= yield(:title) %></title>
then call it from your templates:
<% title "Your custom title" %>
hope this helps ;)