cms/app-client/app/router.js
changeset 16 70e9a764d6d7
parent 5 d4b3da0dadc9
child 35 9148b2653eb5
equal deleted inserted replaced
15:1b4c222d4f0c 16:70e9a764d6d7
     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('first-page');
     9   this.route('visus/visu-langues', { path: '/langues' });
    10   this.route('second-page');
    10   this.route('visus/visu-carto', { path: '/cartographie' });
       
    11   this.route('visus/visu-thematiques', { path: '/thematiques' });
       
    12   this.route('visus/visu-discours', { path: '/discours' });
       
    13   this.route('visus/visu-chrono', { path: '/chronologie' });
    11 });
    14 });
    12 
    15 
    13 export default Router;
    16 export default Router;