Closed lachholden closed 9 years ago
@lachy-xe instead of = yield
try using = content
.
Cuba::Render works a bit differently from Rails and Sinatra in the way it deals with the layout. The above should work.
@lachy-xe Were you able to make it work with what @kitop explained? I'm closing this issue, but feel free to keep commenting if you need help.
Hi, I'm having trouble using
render
from Cuba::Render - I get a LocalJumpError "no block given (yield)". My setup is as follows:Accessing the root page gives the LocalJumpError as above.