cms/app-client/app/router.js
author nowmad@nowmads-macbook-pro.local
Mon, 30 Nov 2015 17:47:34 +0100
changeset 33 06b6b7ae4bb7
parent 16 70e9a764d6d7
child 35 9148b2653eb5
permissions -rw-r--r--
rename the tabs

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

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

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

export default Router;