On Aug 5, 12:54 am, pbreit <pbreitenb...@gmail.com> wrote:
> That should be easy to support. In default.py:
>
> def user():
>     if request.args(0):
>         user = request.args(0)
>         ...
>     else: # list
>     ...
>
> def restaurant():
>     if request.args(0):
>         restaurant = request.args(0)
>         ...
>     else:  # list
>     ...

and if you have them in different controllers?
I think that you should be able to define different default functions
for each controller in web2py

Reply via email to