This project is archived and is in readonly mode.

#1311 ✓resolved
Darragh Curran

Add content_for?(name) helper

Reported by Darragh Curran | October 31st, 2008 @ 05:38 PM | in 2.x

Sometimes I do things in my layout based on whether content has been yielded to a particular content_for label.

Easy to do at the moment - but I reckoned it might be nice to hide this implementation detail. (similar to how we used to do @content_for_something but now do yield :something)




Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href=""></a>

People watching this ticket


Referenced by