title: Backbone Routes - trigger route on page load
body: <p>This is a simple question, but I am new to routing and haven't been able to find an answer to this.</p>
  <p>I have a Marionette Router (if I intimidate you, its really the same thing as a Backbone Router. Very simple).</p>
  <pre><code>sys.routes = {
    &quot;app/:id&quot;: &quot;onAppRoute&quot;,
  };
  
  sys.Router = new Marionette.AppRouter({
    controller: {
      onAppRoute: function(route) {
        console.log('Called app route!');
      },
    },
    appRoutes: sys.routes,
  });
  
  Backbone.history.start({pushState: true})  
  </code></pre>
  <p>This works - if you hit the back button my browser, the url will change within my Single Page Application and will call the <code>onAppRoute</code> function.</p>
  <p>However, let's say I open a new browser window and paste in my page url to a certain 'app':</p>
  <pre><code>http://localhost/app/myApplication
  </code></pre>
  <p>This doesn't call the <code>onAppRoute</code> function. It doesn't even seem like it should, though, but I really don't know.</p>
  <h3>I want it to.</h3>
  <p>I don't know if I am doing it wrong, or if I should just manually fire it by grabbing my page url on page load, parsing it, then 'navigating' to that route. Seems hacky.</p>