server/bo_client/app/router.js
author ymh <ymh.work@gmail.com>
Sun, 09 Oct 2016 11:44:18 +0200
changeset 325 31a4987f6017
parent 263 3deace9204de
permissions -rw-r--r--
Add fields to document index

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;