You could just do:
routes_in=(('/company','/init/default/company/'),)
the other two will work by default
Massimo
On Sep 18, 1:08 pm, Leandro - ProfessionalIT <[email protected]>
wrote:
> Hi,
>
> I have two apps in my Web2Py:
>
> init - default website.
> blog - my personal blog.
>
> I need of this mapping:
>
> www.mysite.com( the default index page )
> point to init/default/index
> www.mysite.com/company( a company page )
> point to init/default/company
> www.mysite.com/blog (default index page of the blog app )
> point to blog/default/index
>
> how implements this in routes.py ?
>
> - Leandro.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---