This URL(r=request, f='index')
is a shortcut. It is ok to refer to another action within the same controller but it not ook to refer to an action in a different controller. The most general way is URL(r=request, c='controller_name', f='index') or URL(request.application,'controller_name','index') On 1 Lug, 17:51, Jean-Guy <[email protected]> wrote: > Hello, > > I am having difficulties to understand something about web2py... > > Can we make other folders (different of the default folder) for storing > our models, controllers and views or should we most put everything in > default folder? > > I mean if I create other folders and I put my stuff in in when I make a > redirect with URL(r=request, f='index') it will go to > /app/last_folder_I_were_in/index > > If i want a unique index what should i do? > > Jonhy

