author | ymh <ymh.work@gmail.com> |
Mon, 06 Feb 2017 15:22:39 +0100 | |
changeset 500 | 4f507ba2bb4c |
parent 263 | 3deace9204de |
permissions | -rw-r--r-- |
4 | 1 |
import Ember from 'ember'; |
2 |
import config from './config/environment'; |
|
3 |
||
136 | 4 |
const Router = Ember.Router.extend({ |
263
3deace9204de
pass bo_client to ember 2.8, adjust for the hack around the aupac-typeahead bug in 2.8 (c.f. https://github.com/aupac/ember-aupac-typeahead/issues/23)
ymh <ymh.work@gmail.com>
parents:
136
diff
changeset
|
5 |
location: config.locationType, |
3deace9204de
pass bo_client to ember 2.8, adjust for the hack around the aupac-typeahead bug in 2.8 (c.f. https://github.com/aupac/ember-aupac-typeahead/issues/23)
ymh <ymh.work@gmail.com>
parents:
136
diff
changeset
|
6 |
rootURL: config.rootURL |
4 | 7 |
}); |
8 |
||
9 |
Router.map(function() { |
|
10 |
this.route('doc', { path: '/doc/:doc_id' }); |
|
11 |
}); |
|
12 |
||
13 |
export default Router; |