18 lines
362 B
JavaScript
18 lines
362 B
JavaScript
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('login');
|
|
this.route('logout');
|
|
this.route('collections', function() {
|
|
this.route('1');
|
|
this.route('new');
|
|
});
|
|
});
|
|
|
|
export default Router;
|