Is there any way to avoid changing all link-to helpers, all transitionTo and transitionToRoute methods when wrapping all routes in parent lang route.
@route 'lang', path: ':lang', ->
@route 'index', path: '/'
@route 'my-route'
@route 'my-route-1'
@route 'my-route-3', path: '/', ->
@route 'my-subroute'
@route 'my-subroute-1'
Aucun commentaire:
Enregistrer un commentaire