Hi:
Don’t know if this the right title for what I’m looking for, but
basically I want to be able to figure out what controller and actions
are being fired.
Let me describe specifically what I’m looking for:
I have a partial that’s implemented on two pages. This partial has
actions in it. If the user executes an action in this partial, I want
the action to complete and then for them to be redirected to the page
the partial’s in, which would basically be a reload. I found
“params[:controller]” & “params[:action]” but I really want not the
current controller and action but the previous one, or even better, the
page that the partial’s in. How do I do this?
Thanks so much in advance!
Mike