decide.nolog.cz/app/router.js
2014-07-06 17:37:54 +02:00

12 lines
346 B
JavaScript

var Router = Ember.Router.extend(); // ensure we don't share routes between all Router instances
Router.map(function(){
this.route('poll', { path: '/poll/:poll_id' });
this.resource('create', function(){
this.route('meta');
this.route('options');
this.route('settings');
});
});
export default Router;