Hi. I'm trying to DRY up my merb layouts. I have a overall app layout,
and then a few different inner templates that add some additional
markup wrapping. The ideal scenario for me would be to have something
like nested layouts.

Searching google I found this:
http://blog.new-bamboo.co.uk/2008/3/15/nested-layouts-in-merb

Unfortunately I dont think it works in Merb 1.0. When I try the exact
code in this technique, I get a hard merb crash. I believe its causing
an infinite loop. Heh, not only does it crash, but when I do ctrl-C to
stop the server it doesnt close it down. I have to kill the processes
manually.

Can someone take a quick look and see what they are doing wrong? Or is
there an easier way now in Merb to use nested layouts?

I'll go ahead and update the wiki with this once we're able to figure
this out. Nested layouts without crazy hacks (like the ones needed in
the rails nested layouts plugin) would be an awesome merb selling
point.

Thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"merb" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/merb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to