Pomo.Router.map(function () {
    this.route('activities');
    this.route('activity', {path:'/activity/:id'});
    this.route('settings', {path: '/settings'});
});

Pomo.PomosRoute = Ember.Route.extend({
    model: function () {
        return this.store.findAll('activity');
    }
});

Pomo.PomoRoute = Ember.Route.extend({
    model: function (params) {
        return Pomo.db.GET('activity', params.id);
    }
});
