Topic: redirect_to :back (without params)
I'm using a select menu to reset a session var, then redirect back. But it's possible for GET params in the previous URL to force an 'undo' of the change that was just made to the session var, which is not what I want.
So, I specifically want to be able to redirect to the last page while stripping the GET params from the :back page. Is there a way to pass options to the :back call?
Passing the action_name and controller_name as hidden fields into the session-changing def is possible, but I'm wondering if there's a more elegant solution.
Thanks.