summaryrefslogtreecommitdiffstats
path: root/third_party/webkit/PerformanceTests/Speedometer/resources/todomvc/architecture-examples/emberjs/app/router.js
blob: c0b3bfc496ae1bcf6758cd93af6be174fecbb465 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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('active');
    this.route('completed');
});

export default Router;