Hello, I followed this
<https://stackoverflow.com/questions/8671936/how-to-make-url-shorter-in-web2py-and-google-appengine>example
on URL shortening.
I wonder how can I do with multiple controllers in the app.
Will the example below be pythonic?
routers = dict(
BASE = dict(
default_application = 'myapp',
default_controller = 'default',
default_function = 'index',
),
BASE = dict(
default_application = 'myapp',
default_controller = 'default2',
default_function = 'page_other',
),
BASE = dict(
default_application = 'myapp',
default_controller = 'default3',
default_function = 'page_others',
),
)
--
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].
To view this discussion on the web visit
https://groups.google.com/d/msgid/web2py/5ca5bbb8-a3ad-4824-bdb0-b69e6949b53ao%40googlegroups.com.