Displaying 2 results from an estimated 2 matches for "back_to".
Did you mean:
  ack'to
  
2006 Jan 22
0
Problem with change_password action in LoginEngine
...authenticated_system.rb, like
this:
  def change_password
     return if generate_filled_in
     if user?
        if do_change_password_for(@user)
           # since sometimes we''re changing the password from within
another action/template...
           #redirect_to :action => params[:back_to] if params[:back_to]
           redirect_back_or_default :action => ''change_password''
        end
     end
   end
Is this a bug in the LoginEngine (and maybe the Login Generator code)
or did I screw something?
--
----------------------------------------------------
http://hr...
2006 Aug 12
7
Redirect back to last page?
I have a few pages where a user may do something (add tags, login, etc) 
and I would like to redirect them back to the last page they were at 
before calling that action.  Is there an easy way to do this?
-- 
Posted via http://www.ruby-forum.com/.