title: Correctly configuring Routers for Parent Child Relationship in backbone Marionette
body: <p>Trying to create a page that allows users to add edit and view a parent child combined.</p>
  
  <p>UI has 3 columns 
  Parent :  List of Parents Children : Child </p>
  
  <p>I want to configure the controllers(s) so that users can come back to right where they were but see no need to have it so both Parent and child can be editable.</p>
  
  <p>// Getting closer using backbone marionette but still having some small issues </p>
  
  <pre><code>    MyRouter = Backbone.Marionette.AppRouter.extend({
          appRoutes: {
              '': 'AddClient',
              'View/:clientid': 'ViewClient',
              'Edit/:clientid': 'EditClient',
              'View/:clientid/Add': 'PolicyAdd',
              'View/:clientid/View/:policyid': 'PolicyView',
              'View/:clientid/Edit/:policyid': 'PolicyEdit'
          }
      });
  
      someController = {
          AddClient: function () {
              var someView = new ClientAdd();
              MyApp.clientPane.show(someView);
          },
          ViewClient: function (clientid) {
              var someView = new ClientView();
              MyApp.clientPane.show(someView);
          },
          EditClient: function (clientid) {
              var someView = new ClientEdit();
              MyApp.clientPane.show(someView);
          },
          PolicyAdd: function (clientid) {
              this.ViewClient(clientid);
              var someView = new PolicyAdd();
              MyApp.policyPane.show(someView);
          },
          PolicyView: function (clientid, policyid) {
              this.ViewClient(clientid);
              var someView = new PolicyView();
              MyApp.policyPane.show(someView);
          },
          PolicyEdit: function (clientid, policyid) {
              this.ViewClient(clientid);
              var someView = new PolicyEdit();
              MyApp.policyPane.show(someView);
          }
      };
  </code></pre>
  
  <p>Having the "this.ViewClient" feels hacky and also doesn't work.</p>