dimanche 11 février 2018

Emberjs: How to get to a route parameter passed in via url in controller

Consider routes:

this.resource('things', {path: '/things/:id'}, function () {
  this.route('edit');
});

Inside controller of the edit, how do I access the :id?




Aucun commentaire:

Enregistrer un commentaire