Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/technicalpickles/content_given

An ActionView helper for determining if content_for
https://github.com/technicalpickles/content_given

Last synced: about 1 month ago
JSON representation

An ActionView helper for determining if content_for

Awesome Lists containing this project

README

        

# ContentGiven

Adds a very small helper to your views for determining if `content_for :foo` was used.

This means you don't always have to render the containing markup around `yield :foo`.

## Example

### Before content\_given: