I would like to change my 'index' function to 'page' so that when someone 
calls a specific page and the router doesn't remove the controller name 
from the url it will say 'page/1' instead of 'index/1'.

I found this answer via a 
search: 
https://stackoverflow.com/questions/17050196/web2py-change-default-controller-and-function

I have two problems with it.

1. It seems to be global. I would like this default function to be specific 
to a single app and only in the default controller.

2. The code in the answer doesn't actually work. It causes python to throw 
a syntax error when uWSGI is started.

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

Reply via email to