Link_to that sends multi-level params

How can I use a link_to that will send multi-level params? I need to be
able to use the following in the controller:


Here’s the link_to I currently have:

link_to, :action => ‘show’, :id =>

But that just gives me this in the controller:


Is it possible to do what I’m wanting?


Allright, I think I figured out how to do this. Maybe it can help
someone else:

link_to, :action => ‘show’, :sales_order => {:id