DigitPaint / roger

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

Fix yielding in content_for partials #20

Closed edwinvdgraaf closed 9 years ago

edwinvdgraaf commented 9 years ago

When partials were used that yielded their given block, the variable in which was yielded was reused due to their nesting. By supplying a counter, and thus making the yielded to variable unique we no longer have duplicated content.