[web2py] Re: How do I get a controller to return back to the page that calls it (when it can be called by many pages)?

2011-05-29 Thread Luis Goncalves
Awesome! Thanks!!! L.

[web2py] Re: How do I get a controller to return back to the page that calls it (when it can be called by many pages)?

2011-05-29 Thread mattgorecki
In your db_action() controller, rather than doing a return() at the end, you could just redirect like so: redirect(request.env.http_referer) On May 29, 2:46 pm, Luis Goncalves wrote: > Hello All! > > There is a database action that I want to do in several views. > > Right now, I have it impleme