cms/app-client/app/router.js
changeset 98 2e6bfce6f99c
parent 94 62984937a062
child 136 5fed7e1716c2
equal deleted inserted replaced
97:32c0f831de45 98:2e6bfce6f99c
     4 var Router = Ember.Router.extend({
     4 var Router = Ember.Router.extend({
     5   location: config.locationType
     5   location: config.locationType
     6 });
     6 });
     7 
     7 
     8 Router.map(function() {
     8 Router.map(function() {
       
     9   this.route('tabs/detail', { path: '/detail/:document_id' });
     9   this.route('tabs/langues', { path: '/langues' });
    10   this.route('tabs/langues', { path: '/langues' });
    10   this.route('tabs/carto', { path: '/cartographie' });
    11   this.route('tabs/carto', { path: '/cartographie' });
    11   this.route('tabs/thematiques', { path: '/thematiques' });
    12   this.route('tabs/thematiques', { path: '/thematiques' });
    12   this.route('tabs/discours', { path: '/discours' });
    13   this.route('tabs/discours', { path: '/discours' });
    13   this.route('tabs/chrono', { path: '/chronologie' });
    14   this.route('tabs/chrono', { path: '/chronologie' });