2014-07-06 17:37:54 +02:00
|
|
|
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');
|
2014-07-07 01:51:58 +02:00
|
|
|
this.route('options-datetime');
|
2014-07-06 17:37:54 +02:00
|
|
|
this.route('settings');
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
export default Router;
|