cms/app-client/app/router.js
author Chloe Laisne <chloe.laisne@gmail.com>
Tue, 23 Aug 2016 23:05:25 +0200
changeset 259 6af61adbd570
parent 219 3578846b66f4
child 261 02e2396bcbbc
permissions -rw-r--r--
doc-subject for bnf links

import Ember from 'ember';
import config from './config/environment';

const Router = Ember.Router.extend({
  location: config.locationType
});

Router.map(function() {
    this.route('tabs/langues', { path: '/' }); // Default
    this.route('tabs/langues', { path: '/langues' });
    this.route('tabs/carto', { path: '/cartographie' });
    this.route('tabs/thematiques', { path: '/thematiques' });
    this.route('tabs/discours', { path: '/discours' });
    this.route('tabs/chrono', { path: '/chronologie' });
});

export default Router;