title: durandal child router with parameter from parent
body: <p>I am trying to initialize a child router to build sub navigation for the customer section of my application.</p>
  
  <p>The url i am trying to configure is:</p>
  
  <pre><code>#customer/1/orders/1
  </code></pre>
  
  <p>I defined a route to get to the customer view in my shell.js</p>
  
  <pre><code>define(['plugins/router', 'durandal/app'], function (router, app) {
      return {
          router: router, 
          activate: function () {
              router.map([
                  { route: 'customer/:id*splat', moduleId: 'customer/customer' }
              ]).buildNavigationModel();
  
              return router.activate();
          }
      };
  });
  </code></pre>
  
  <p>I created a customer view that contains sub navigation for the customer section.  The navigation will use the customer id that was in the route.  This view doesnt really do anything except show customer sub-navigation. I created a child router in this view.</p>
  
  <pre><code>define(['plugins/router', 'knockout'], function (router, ko) {
      var childRouter = router.createChildRouter()
          .makeRelative({
              moduleId: 'customer',
              fromParent: true
          }).map([
              { route: 'orders/:orderId', moduleId: 'orders' }
          ]).buildNavigationModel();
  
      var activate = function(id) {
  
      };
  
      return {
          router: childRouter,
          activate: activate
      };
  });
  </code></pre>
  
  <p>My problem is that I can't seem to get the routing to work when I have a parameter in my parent router.  The customer view gets routed to but the orders view doesn't.  I will end up having more sub views under the customer section.</p>