server/bo_client/app/router.js
author ymh <ymh.work@gmail.com>
Wed, 28 Sep 2016 15:58:18 +0200
changeset 305 ff6cf3fc5f40
parent 263 3deace9204de
permissions -rw-r--r--
api reorganisation and propagation if the changes + some code cleaning

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('doc', { path: '/doc/:doc_id' });
});

export default Router;