server/bo_client/app/router.js
author ymh <ymh.work@gmail.com>
Mon, 03 Oct 2016 16:32:41 +0200
changeset 318 5564f5065f81
parent 263 3deace9204de
permissions -rw-r--r--
add a root url for corpus back apis. it is set to the same than root api for the moment

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;