With hobo, you probably just need to modify your controller to select
the right range for posts.  Maybe add in a named_scope for an easy way
to pick by month.  So you'd need a parameter for the date in the view
for your links.

On Jun 28, 2:46 am, jaonary <[email protected]> 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to