Hello, My app have a controller that shows a project, since it receives the project owner username and the project id by the URL arguments. It would be like: myapp.com/projects/juliarizza/1234 But, I would like this URL to be myapp.com/juliarizza/1234, not showing the controller name. It returns an 'invalid request' when I try to access this second URL type. Is there a way to do this?
*routes.py* BASE = '' routes_in = ( (BASE + '/', BASE + '/myapp/panel/index'), (BASE + '/index', BASE + '/myapp/panel/index'), (BASE + '/project/$anything', BASE + '/myapp/panel/project/$anything'), (BASE + '/$project', BASE + '/myapp/panel/project/$project'), ) routes_out = [(x, y) for (y, x) in routes_in] -- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.

