Revision cb6d8025 snf-cyclades-app/synnefo/ui/new_ui/ui/javascripts/router.js
b/snf-cyclades-app/synnefo/ui/new_ui/ui/javascripts/router.js | ||
---|---|---|
1 | 1 |
App.Router.map(function (argument) { |
2 | 2 |
this.resource('vms', { path: '/vms/:view_cls' }); |
3 |
this.resource('vminit', { path: '/vm'}); |
|
3 | 4 |
this.resource('vm', { path: '/vm/:vm_id' }, function () { |
4 | 5 |
this.route('info'); |
5 | 6 |
this.route('disk-connected'); |
6 | 7 |
this.route('network-connected'); |
7 | 8 |
}); |
8 | 9 |
this.resource('networks', {path: '/networks/:view_cls'}); |
10 |
this.resource('networkinit', { path: '/network'}); |
|
9 | 11 |
this.resource('network', { path: '/network/:network_id' }, function () { |
10 | 12 |
this.route('info'); |
11 | 13 |
this.route('vm-connected'); |
12 | 14 |
}); |
13 | 15 |
this.resource('volumes', {path: '/volumes/:view_cls'}); |
16 |
this.resource('volumeinit', { path: '/volume'}); |
|
14 | 17 |
this.resource('volume', { path: '/volume/:volume_id' }, function () { |
15 | 18 |
this.route('info'); |
16 | 19 |
this.route('vm-connected'); |
Also available in: Unified diff