我想弄清楚如何从自定义API获取数据。我使用的灰烬1.8.1,恩贝尔数据1.0.0-beta.12和灰烬CLI自定义Ember Api端点
在我的路由器,我有以下资源 this.resource("communities", {path: '/communities/:community-id/follow-ups'}, function() {});
我有正确的响应定义我的模型。在我的社区路由器,我试图从API获取数据,像这样 this.store.find('community', params['community-id']);
我遇到的问题是,我试图从API端点 /communities/{community-id}/follow-ups
retrive数据,但应用程序试图抢从 /communities/{community-id}
如何定义自定义资源的路线从follow-ups
如果这些答案的满足你的问题,你能接受吗? ;) – 2015-08-10 22:03:51