summaryrefslogtreecommitdiffstats
path: root/webapp/routes/route_claim.jsx
blob: 02dfeb8e84201f51ac4651774050df07dc737397 (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
25
26
27
28
29
30
31
32
33
34
35
36
import * as RouteUtils from 'routes/route_utils.jsx';

export default {
    path: 'claim',
    getComponents: (location, callback) => {
        System.import('components/claim/claim_controller.jsx').then(RouteUtils.importComponentSuccess(callback));
    },
    getChildRoutes: RouteUtils.createGetChildComponentsFunction(
        [
            {
                path: 'oauth_to_email',
                getComponents: (location, callback) => {
                    System.import('components/claim/components/oauth_to_email.jsx').then(RouteUtils.importComponentSuccess(callback));
                }
            },
            {
                path: 'email_to_oauth',
                getComponents: (location, callback) => {
                    System.import('components/claim/components/email_to_oauth.jsx').then(RouteUtils.importComponentSuccess(callback));
                }
            },
            {
                path: 'ldap_to_email',
                getComponents: (location, callback) => {
                    System.import('components/claim/components/ldap_to_email.jsx').then(RouteUtils.importComponentSuccess(callback));
                }
            },
            {
                path: 'email_to_ldap',
                getComponents: (location, callback) => {
                    System.import('components/claim/components/email_to_ldap.jsx').then(RouteUtils.importComponentSuccess(callback));
                }
            }
        ]
    )
};