【发布时间】:2017-05-12 12:38:48
【问题描述】:
我正在使用ember-simple-auth,
最近我开始在我的测试中收到这种弃用[deprecation id: ember-simple-auth.configuration.routes]
我在配置中有这样的选项
'ember-simple-auth': {
authenticationRoute: 'login',
routeAfterAuthentication: '/',
routeIfAlreadyAuthenticated: '/',
},
要解决此弃用问题,我是否需要为所有使用的路由指定此字段 对应的mixin?至于我,是重复太多还是我遗漏了什么?
【问题讨论】: