-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
/
Copy pathrouter.js
27 lines (23 loc) · 853 Bytes
/
router.js
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
import EmberRouter from '@ember/routing/router';
import config from './config/environment';
const Router = EmberRouter.extend({
location: config.locationType,
rootURL: config.rootURL,
});
Router.map(function () {
this.route('basic-record-materialization');
this.route('complex-record-materialization');
this.route('complex-record-materialization-with-relationship-materialization');
this.route('relationship-materialization-simple');
this.route('relationship-materialization-complex');
this.route('add-children');
this.route('add-children-then-materialize');
this.route('add-children-to-materialized');
this.route('unload');
this.route('unload-all');
this.route('destroy');
this.route('unused-relationships');
this.route('update-with-same-state');
this.route('update-with-same-state-m2m');
});
export default Router;