I was wondering how I actually use the parameter passed from a url on
another page :/
<a with="&Message" params="&{'folder'=>'inbox'}">Inbox</a>

How do I test the value of params[:folder] with dryml. Could not find
any information on this in the DRYML guide.
<collection with="&current_user.messages_recieved"/>


Best regards.
Asbjørn Morell

On Mar 15, 3:43 pm, Matt Jones <[email protected]> wrote:
> On Mar 15, 2010, at 9:36 AM, atmorell wrote:
>
> > Thank you Tom.
>
> > <h4><a with="&Message" params="&{'folder'=>'inbox'}">Inbox</a></h4>
>
> > Was just what I was looking for. Back to programming with hobo :)
>
> Note: this will also work.
>
> <h4><a href="#{messages_path(:folder => 'inbox')}">Inbox</a></h4>
>
> Sometimes, too much sugar is bad... :)
>
> --Matt Jones

-- 
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