This is what admin does, but this have to be executed within the
environent. You can have a controller to execute this:

def reload_routes():
    """ Reload routes.py """
    import gluon.rewrite
    gluon.rewrite.load()
    redirect(URL('your_home_url'))

-- 



Reply via email to