var Router = Ember.Router.extend();

Router.map(function() {
  this.resource('todos', { path: '/' }, function() {
    // this.route('index', { path: '/' });  // this route is autogenerated
    this.route('active');
    this.route('completed');
  });
});

// use pushState instead of hashchange on URLs
Router.reopen({
  location: 'history'
});

export default Router;
@@ -26,16 +26,90 @@
 .extend(
+%7B%0A  // use pushState instead of hashchange on URLs%0A  location: 'history'%0A%7D
 );%0A%0ARout
@@ -326,98 +326,8 @@
 );%0A%0A
-// use pushState instead of hashchange on URLs%0ARouter.reopen(%7B%0A  location: 'history'%0A%7D);%0A%0A
 expo

Move Router.reopen() options to Ember.Router.extend()