我正在使用ember-simple-auth
,
最近我在测试中开始接受这个弃用[deprecation id: ember-simple-auth.configuration.routes]
我在config
中有这样的选项'ember-simple-auth': {
authenticationRoute: 'login',
routeAfterAuthentication: '/',
routeIfAlreadyAuthenticated: '/',
},
要修复此弃用,我需要为所有使用的路由指定此字段 相应的mixins?至于我的重复太多或我错过了什么?