Closed edwinvdgraaf closed 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.
content_for
_content_for_blocks[:block_name]
This additions adds a more elegant way of checking content_for?.
content_for?
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?
.