That worked very very well!

I created a file in /models (rewrite.py)

*routes = {
> **    "default": "default",
> **    "articles": "articles",
> **    "inicio": "default",
> **    "artigos": "articles",
> **    "principal": "default",
> **    "articulos: "articles",
> **}**
> **
> **request.controller = routes[request.controller]
> **request.function = routes[request.function]*



This open possibilities to things like /<username> based profiles and
conditional routes, better on maintenance/onerror routes.

Now I have to know how it will be about performance and if we can rely on
this for the future?

Reply via email to