Hi,
I'm using the Parameter-based system for routing

In my routes.py I have this

    routers = dict(

        # base router
        BASE = dict(
            applications = ['admin', 'app', 'blog'],
            default_application = 'app',
            map_hyphen = True,
            domains = {
                'blog.domain.com'   : 'blog',
                'domain.com'          : 'app'
            },
        ),
        app = dict(
            controllers = ['default', 'user'],
            functions = ['index', 'show', 'list'],
            default_controller = 'default',
            default_function = dict(default='index', user='show')
        ),
        blog = dict(
            default_controller = 'default',
        ),
    )


When I go to http://localhost/user/john i get this: "invalid function 
(user/john)"

I would like it to map it to http://localhost/user/show/john

So it is possible to pass args to a default function in a non default 
controller without the name of the function?

Reply via email to