summaryrefslogtreecommitdiffstats
path: root/third_party/webkit/PerformanceTests/Speedometer/resources/todomvc/architecture-examples/emberjs-debug/source/app/router.js
blob: 4c60bf93fc87b67f6023fdc94396c4147b5a3d6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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;