define([
  'ember'
],

function (Em) {
  'use strict';

  var Router = Em.Router.extend({
    location: 'history'
  });

  Router.map(function () {
    this.route('index', {path: '/'});
    this.resource('scooby_card', {path: '/person/:name'});
  });

  return Router;
});

@@ -155,91 +155,369 @@
 is.r
-oute('index', %7Bpath: '/'%7D);%0A    this.resource('scooby_card', %7Bpath: '/person/:name'
+esource('groups', %7Bpath: '/groups'%7D, function () %7B%0A      this.resource('group', %7Bpath: '/:group_id'%7D, function () %7B%0A        this.route('edit');%0A      %7D);%0A      this.resource('items', %7Bpath: '/:group_id/items'%7D, function () %7B%0A        this.resource('item', %7Bpath: '/:group_id/item/:item_id'%7D, function () %7B%0A          this.route('edit');%0A        %7D);%0A      %7D);%0A    
 %7D);%0A

Set up App.Router