Hello, we are building a short-url app. We are using MongoDB to save in a table the long-url (ex.: http://google.com) and respective short-url (ex.: eWTy)
We pretend to use it just like bit.ly To make the redirect working we have to point the browser to a function like http://domain.com/r/eWTy that would redirect to http://google.com Is there any way we can omit the controller? like http://domain.com/eWTy I've tried to make 'r' the default_function on routes.py but it didn't work