Just in case you didn't already see this...

http://groups.google.com/group/web2py/browse_thread/thread/f0ac5c1d34480565/96224e6cf78d615a?lnk=gst&q=routes#96224e6cf78d615a


On Nov 23, 11:46 am, Phyo Arkar <[email protected]> wrote:
> I think i need to rephrase.
>
> I want default function and view to be same name as controller without need
> to define @ response.view everytime , automatically , can that be done at
> routes.py?
>
> On Tue, Nov 23, 2010 at 7:40 AM, Phyo Arkar <[email protected]>wrote:
>
> > is there a way to  map the route of default_controller to same name of
> > default_function, programmatically?
>
> > have to define in route.py ?
>
> > i cant find approute.py where is it? (yes i removed welcome app lol) .
>
> > what i want to do is , i want default contoller/function/view all the same
> > name:
>
> > resulting: controller/controller/controller.html
>
> > it makes easy when coding inside aptana/pydev , you dont have to look back
> > which function index.html comes from.
>
>

Reply via email to