Hi,

I am new with RoR. I have this HTML element
 <th><a href="/movies" id="title_header">Movie Title</a></th>

What i am planning to acheive with this is that when the user clicks the
movie title the list sorts itself. My problem here is with the routes. I
already have the Rails provided "resourceful routes" but i have no idea
what should i do for the above case. I am doing this for a homework and
in the hint section of the homework it says

"You may find it helpful to know that if you pass Rails provided
"resourceful routes" a hash of additional parameters, those parameters
will be parsed by Rails and become available in the params[] hash."

I have no idea how to code this in routes.rb and how it would be
interepted at controllers.rb

-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" 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 https://groups.google.com/groups/opt_out.


Reply via email to