Re: [web2py] missing 'index' in url with routes.py?

2013-10-10 Thread Apple Mason
Thanks Jonathan, I ended just pointing the default function to a main() and from there I redirected to my index() in my controller. On Thursday, October 10, 2013 5:47:22 PM UTC-4, Jonathan Lundell wrote: > > On 9 Oct 2013, at 9:11 PM, Apple Mason > > wrote: > > I'm trying to shorten the url fro

Re: [web2py] missing 'index' in url with routes.py?

2013-10-10 Thread Jonathan Lundell
On 9 Oct 2013, at 9:11 PM, Apple Mason wrote: > I'm trying to shorten the url from something like: > > www.example.com/myapp/default/index?page=1 > > to > > www.example/com/index?page=1 > > I'm using pagination on the index page, so that's why you see the ?page=1 > > My routes.py is pretty s

[web2py] missing 'index' in url with routes.py?

2013-10-09 Thread Apple Mason
I'm trying to shorten the url from something like: www.example.com/myapp/default/index?page=1 to www.example/com/index?page=1 I'm using pagination on the index page, so that's why you see the ?page=1 My routes.py is pretty standard: routers = dict( # base router BASE=dict( de