blob: 517d3802e29a82911ab7389c7f79b428e5e689d7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
import * as RouteUtils from 'routes/route_utils.jsx';
export default {
path: 'mfa',
getComponents: (location, callback) => {
System.import('components/mfa/mfa_controller.jsx').then(RouteUtils.importComponentSuccess(callback));
},
getChildRoutes: RouteUtils.createGetChildComponentsFunction(
[
{
path: 'setup',
getComponents: (location, callback) => {
System.import('components/mfa/components/setup.jsx').then(RouteUtils.importComponentSuccess(callback));
}
},
{
path: 'confirm',
getComponents: (location, callback) => {
System.import('components/mfa/components/confirm.jsx').then(RouteUtils.importComponentSuccess(callback));
}
}
]
)
};
|