I have a partial that is placed in many different pages, or, in rails terms, participates in many different actions.
So, the partial _list.rhtml is on
./admin/show.rhtml
and it's also on
./admin/find.rhtml
I want the partial _list.rhtml to have different behaviors for show and find. Is there an object available on a page, that contains the controller and action for that page?
Charlie