I just added this to the docs for params:
Params are passed as a ruby hash. Example:
params="&{id=>17, name=>'joe'}"
Bryan
atmorell wrote:
Hello,
I am having som problems finding the correct syntax for the <a> tag.
How do I use the params option to pass a variable to the index page?
<a action="index" params="inbox">Inbox</a>
<a action="index" params="sent">Sent</a>
<a action="index" params="trash">Trash</a>
NoMethodError in Messages#index
Showing app/views/messages/index.dryml where line #4 raised:
undefined method `merge' for "trash":String
Best regards
Asbjørn Morell
--
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.