Did you mean to put this into specific app? This does not work, because router redirects to different app.
On Friday, 5 June 2015 17:17:48 UTC+2, villas wrote: > > Maybe something like this (untested)... > > --- in models/0redirects.py --- > if request.application in ['app2','app3']: > redirect(URL('index')) > > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.