OK here is my setup:

routes.py:
===============================================
routers = dict(
    BASE = dict(
        default_application = 'myapp',
        default_controller='default'
    ),
)

routes_in = (
              ('/myinfo', '/default/myinfo'),
                   )

routes_out = (
              ('/default/myinfo', '/myinfo'),    
                      )

===============================================

index.html:
===============================================
<a href={{=URL('default', args='myinfo')}}  data-role="button" 
 data-theme="d" data-inline="true" data-icon="info">View</a>
===============================================
the link renders as:
/default/default/myinfo

index.html:
===============================================
<a href={{=URL(args='myinfo')}}  data-role="button"  data-theme="d" 
data-inline="true" data-icon="info">View</a>
===============================================
the link renders as:
/index/myinfo

It should be:
/myinfo

What is wrong?





Reply via email to