mardi 4 juillet 2017

ember link-to a subroute inside dynamic segment

in my router i have

 this.route('users', { path: '/users' }, function(){
 this.route('show', { path: '/:user_id' }, function(){
    this.route('history',{ path: '/history' });
 });});

in my template i want to link to the users/1/history url but History is not working. So what is the correct way to write this link to?




Aucun commentaire:

Enregistrer un commentaire