On Monday, November 23, 2020 at 4:10:34 AM UTC-8 [email protected] wrote:

> Following on this <https://groups.google.com/u/2/g/web2py/c/FcdWR6VuB6Y>, 
> is there a way one can do the same with multiple controllers and thier 
> functions?
> For me it only works for one controller.
> Regards
>

>From a quick glance at the book, I suspect that you need a dict for each 
app, and that the dict should match the name of the app.

Anthony's example had "init" as the name of the app, the book uses 
"myapp".  You'd also have to add each app to the BASE, probably looking 
like the "domains" example further into that section.

I do very simple router stuff (mainly setting default app), and I haven't 
tested this, so YMMV.

/dps

-- 
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/9c129e5d-39e5-412d-b1c1-0e98f888e604n%40googlegroups.com.

Reply via email to