Find in store with slug (ember)


According to ember data documentation, if i want to make a call on my back-end application such as /applications/123 i use the code below.


import DS from ‘ember-data’;

export default DS.RESTAdapter.extend({ namespace: ‘api/v1’, host:‘’,
}); routes/home.js

import Ember from ‘ember’;

export default Ember.Route.extend({ model: function (params) { return“Application”,; } }); But, i want to make a call like /applications/123/analytics, where analytic’s call is

model: function () { return‘Analytic’); } Any help?