DigitPaint / roger

Roger is your friendly front-end development toolbox!
MIT License
4 stars 4 forks source link

Implement content_for? helper #59

Closed edwinvdgraaf closed 8 years ago

edwinvdgraaf commented 8 years ago

Before this commit, checking wether a content_for block was set, it was required to check the private _content_for_blocks[:block_name] variable in the template.

This additions adds a more elegant way of checking content_for?.