1602/compound — pull request #412 by 1602 (2013-02-25 12:39:56+00:00)
Title: New helper: contentFor(name, content)

In layout:

<%- contentFor('javascripts') %>

In view:

<% contentFor('javascripts', javascriptIncludeTag('view-specific-javascipt')) %>

This will add some view-specific content to layout. This method also could be called from controller.