Slug urls with Ember.js
问题 How would you get post/my-title (with a custom slug) instead of posts/2 (with id) in Ember.js? My approach was to add and use a slug in my model but it doesn't work on direct access. Using a {{link-to}} helper it works, also the slug. I assume the error lies in the PageRoute 's model. Tried return this.store.find('page', {'slug': params.page_slug}) without any luck. Example code: http://emberjs.jsbin.com/AVAgUZAb/5/edit 回答1: You're mismatching versions of Ember Data. In the PageRoute you are