cms/app-client/app/router.js
changeset 259 6af61adbd570
parent 219 3578846b66f4
child 261 02e2396bcbbc
equal deleted inserted replaced
258:12c694392e8e 259:6af61adbd570
     4 const Router = Ember.Router.extend({
     4 const 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/langues', { path: '/langues' });
     9     this.route('tabs/langues', { path: '/' }); // Default
    10   this.route('tabs/carto', { path: '/cartographie' });
    10     this.route('tabs/langues', { path: '/langues' });
    11   this.route('tabs/thematiques', { path: '/thematiques' });
    11     this.route('tabs/carto', { path: '/cartographie' });
    12   this.route('tabs/discours', { path: '/discours' });
    12     this.route('tabs/thematiques', { path: '/thematiques' });
    13   this.route('tabs/chrono', { path: '/chronologie' });
    13     this.route('tabs/discours', { path: '/discours' });
       
    14     this.route('tabs/chrono', { path: '/chronologie' });
    14 });
    15 });
    15 
    16 
    16 export default Router;
    17 export default Router;