Skip to content

Instantly share code, notes, and snippets.

@craigw
Created September 24, 2010 13:09
Show Gist options
  • Save craigw/595332 to your computer and use it in GitHub Desktop.
Save craigw/595332 to your computer and use it in GitHub Desktop.
render 'foo/index.html.erb'
render :template => 'page_title.html.erb' # <%= yield :page_title %>
response.body.should == 'foo_title'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment