No problem i got it. I dont need to type the app name or the index action 
at the url and numeric params works.

routes.py
default_application = "myapp"
default_controller = "default"
#no need to declare the default action

routes_in = (
#... include the same routes as the example file
    , ('/(\d+)', r'/myapp/default/index/\1')
    , ('/$c', '/myapp/$c/index/')
    , ('/$c/(\d+)', r'/myapp/$c/index/\2')
    , ('/$c/$anything', '/myapp/$c/$anything')
    , (BASE + '/$anything', '/$anything')
)

only include the last rule on routes out and will work.

-- 
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.

Reply via email to