The code really shouldn't be a lot different from your rails app. You'll probably want to use your own index action rather than the hobo auto action. If you assign your list to @events, then you can use <collection with="@events"> instead of the default context.
Bryan jaonary wrote: > Hi all, > > I'm trying to build a blog app with hobo and I have a trouble to put a > way to browse my posts by month, as usual in every blog application. I > already done the same thing with a pure rails and erb based > application and it was relatively simple. But, I just can't figure out > how can I do this with hobo and dryml. > > Here is my index.dryml page : > > <page title="Événements"> > > <body: class="index-page event"/> > > <content:> > <a action="new" to="&model"/> > <collection /> > </content:> > > <aside2:> How to browse posts by month ? </aside2:> > > > </page> > > Thanks for your help. > > Jaonary > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Hobo Users" 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/hobousers?hl=en -~----------~----~----~----~------~----~------~--~---
