Very useul post, Jonathan. And the router works great, thanks. On Wednesday, November 20, 2013 3:20:22 PM UTC+1, lesssugar wrote: > > Just let my understand it. > > I created a basic routes.py file in my web2py/ folder. The whole content > is: > > default_application = 'myapp' # ordinarily set in base routes.py > default_controller = 'default' # ordinarily set in app-specific routes.py > default_function = 'index' # ordinarily set in app-specific routes.py > > > When I go to mydomainname.com - default_application works fine. > > But when I go directly to: mydomainname.com/myapp/users/index - the URL > remains unchanged. > Shouldn't it be rewritten to: mydomainname.com/users ? > > I mean, the default_application and default_function are set. Do I also > need to specify routes_in and _out for this? >
-- 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/groups/opt_out.

