Next question:
I have added a new function to controllers.py:
@authenticated()
def index*1*():
user = auth.get_user()
message = T("Hello *1*{first_name}".format(**user))
return dict(message=message, user=user)
A call of 127.0.0.1:8000/myapp/index*1*
requires a login. Ok, that is the expected behavior.
But after the login py4web redirects to *index *and not to *index1*.
What is wrong?
Regards, Martin
--
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/CAMcwXCewujrYU%2BHQ6_6wtqhhd4P-ea4nYsmh2gM9XKTnWmRaUQ%40mail.gmail.com.