Open airblade opened 11 years ago
This happens in production but not development.
- feature? :foo do %p blah
Renders everything within main layout twice.
I think this is because I'm using a plain yield. I probably need to use capture(&block).
yield
capture(&block)
http://stackoverflow.com/a/7409626/151007
See http://thepugautomatic.com/2013/06/helpers/
This happens in production but not development.
Renders everything within main layout twice.