Probably a silly question, but I'm trying to create a partial that I
use in two seperate resources... one is called Tickets and one is
I have links at the top of the page that order my seatrch by passing a
parameter into the ticket_path() variable...
Now I'd like to change that to the current path so that in
TicketsSearch I can use the same parameter and it would be like
tickets_search_path( :order => date ) instead of ticket_path( :order
=> date ) w/o having to create an if statements and have two blocks of
I hope that makes sense. Here's my table header view if it helps.