Backbone router: how to set up hrefs to connect to router?
<p>I see a lot of examples with just some router code and that's it. My href in my HTML must start with a "#" so the page doesn't redirect, correct?
So let's say my a tag looks like so:</p>

<pre><code>&lt;a href="/#login"&gt;Login&lt;/a&gt;
</code></pre>

<p>What should the route look like in the router?</p>

<pre><code>App.Router = Backbone.Router.extend({
  routes: {
   "login": "loginAction"
  },

  loginAction: function(){
   // do cool stuff
  }
});
</code></pre>

<p>Does the route above need the hash or any kind of backslash? 
Or should my href in my anchor be <code>"/#/login"</code> ?</p>

<p>Also, I've seen this code</p>

<pre><code>Backbone.history.start({
    pushState: true
});
</code></pre>

<p>What does this mean and what does it do?
Do I use this code after or before I create a new instance of my router?</p>