cms/app-client/app/router.js
author ymh <ymh.work@gmail.com>
Wed, 06 Jul 2016 14:24:21 +0200
changeset 230 6e4cabc614ef
parent 219 3578846b66f4
child 259 6af61adbd570
permissions -rw-r--r--
forgotten hgignore file

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: '/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;