Ember 向我显示以下错误:未捕获的错误:没有与 URL '/users' 匹配的路由
Sks.IndexRoute = Ember.Route.extend
redirect: ->
this.transitionTo 'users'
Sks.Router.map ->
this.resource 'users', path: 'users/:user_id'
Sks.UsersRoute = Ember.Route.extend
setupController: (controller, model) ->
this.controllerFor('users').set 'content', Sks.User.find()
this.controllerFor('currentUser').set 'content', Sks.CurrentUser.find 1
this.controllerFor('top').set 'content', Sks.Top.find()
this.controllerFor('hamsters').set 'content', Sks.Hamster.find()
当我删除动态段时,一切正常。
版本:v1.0.0-rc.1-78-gd4e6a5c
编辑#1 添加了 IndexRoute