0
我尝试让我的烬钢轨工程,但一个奇怪的错误发生。我有一个模型客户端,和我的路线是:Ember.js - 错误的URL请求
App.Router.map() ->
@resources('clients')
和
App.ClientsRoute = Ember.Route.extend
model: ->
@get('store').findAll 'client'
但是,请求点:http://my.app:3000/api/v1/lients。
我真的不知道为什么会发生这种情况。注意'客户'而不是'客户'。
感谢
是否使用[emberscript(http://emberscript.com/)? – quaertym
不,我不使用脚本 – elf
你会请你展示你的客户端模型,以及你的适配器和串行器。 – Kingpin2k