cms/app-client/app/router.js
author Chloe Laisne <chloe.laisne@gmail.com>
Thu, 25 Aug 2016 18:44:50 +0200
changeset 269 9659e91242e1
parent 261 02e2396bcbbc
child 271 e234339fe8df
permissions -rw-r--r--
Add subjects to notice + Background color two notice type + Remove empty notice fields

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

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

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;