karax/bench/implementations/ember-2.6.3/app/router.js
2017-04-24 16:00:32 +07:00

13 lines
246 B
JavaScript
Executable file

import Ember from 'ember';
import config from './config/environment';
const Router = Ember.Router.extend({
location: config.locationType
});
Router.map(function () {
this.route('active');
this.route('completed');
});
export default Router;