is it possible?

On Oct 1, 10:55 am, Francisco Costa <m...@franciscocosta.com> wrote:
> Thank you for your answers, both work for me, i didn't know that the
> order was important.
> But the thing is that I have others functions in the user controller
> that stopped to work, unless I have a dedicated route for them.
> ex: /welcome/user/index is a list of all users and only works if I
> had
>
> routes_in:  ("/user/index", r"/welcome/user/index"),
> routes_out:   ("/welcome/user/index", r"/user/index"),
>
> My question is, if there is any way that you don't have to route every
> function, and only the view/user
>
> On Sep 30, 3:19 pm, Wikus van de Merwe <dupakrop...@googlemail.com>
> wrote:
>
> > You mean this doesn't work for you?
>
> > routes_in = (
> >   ("/user/(.+)", r"/welcome/user/view/\1"),
> >   ("/(.+)", r"/welcome/\1")
> > )
>
> > routes_out = (
> >   ("/welcome/user/view/(.+)", r"/user/\1"),
> >   ("/welcome/(.+)", r"/\1")
> > )
>
>

Reply via email to