URL() for app home page

25 views
Skip to first unread message

Quint

unread,
May 26, 2014, 5:11:43 AM5/26/14
to web...@googlegroups.com
Hi,
 
Is it possible to generate an URL for an applications home/index page without knowing what the default controler or function is?
It's for a plugin so I do not know what the required controller and function are.
 
I other words, how do I find out what the default controller and function is?
 
Thanks!
 
Quint

Niphlod

unread,
May 26, 2014, 7:28:49 AM5/26/14
to web...@googlegroups.com
defaults are "default" and "index" but if a user chooses instead "foo" and "bar" for his app you'll never know.
It should be a configurable parameter in your plugin.

Quint van den Muijsenberg

unread,
May 26, 2014, 9:20:47 AM5/26/14
to web...@googlegroups.com

Thanks.

Sent from my HTC

--
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 a topic in the Google Groups "web2py-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/web2py/vTqs_6oZL2Q/unsubscribe.
To unsubscribe from this group and all its topics, send an email to web2py+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages