all named route does not work. by adding current SCRIPT_NAME to the front, change everything
On Fri, Oct 8, 2010 at 2:50 PM, yaming deng <[email protected]> wrote: > code like this: > > ---------------------------------------------------------------------------------------------------------------------------------- > map = Mapper(directory=config['pylons.paths']['controllers'], > always_scan=config['debug']) > map.minimization = True > map.explicit=True > > map.connect('shopping', > '/shopping/{action}',controller='shopping',action='index') > > > --------------------------------------------------------------------------------------------------------------------------------- > and > <a href="${h.url('shopping')}">shopping</a> --------------- named route > --------------------------------------------- > i got : > > <a href="//shopping">shopping</a> > > ------------------------------------------------------------------------ > > Routes : 1.12.3 > Pylons: 1.0 > --------------------------------------- > -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en.
