title: Backbone.js click event handler : trigger route with parameter
body: <p>I want to redirect the user to another page when they click on a button. Here's the code: </p>
  
  <p>template:</p>
  
  <pre><code>&lt;button type="button" id="edit-button"&gt;Edit&lt;/button&gt;
  </code></pre>
  
  <p>router:</p>
  
  <pre><code>App.Router.Accounts = Backbone.Router.extend({
      routes: {
          'accounts/:accountID/audience/edit' : 'editAudience'
      }
  });
  </code></pre>
  
  <p>view:</p>
  
  <pre><code>router: new App.Router.Accounts(),
  
  events: {
      "click #edit-button": "redirectToEdit"
  },
  
  redirectToEdit: function(){
      url = "accounts/"+this.account_id+'/audience/edit';
      this.router.navigate(url, {
          trigger: true,
          replace: true
      });
  }
  </code></pre>
  
  <p>But I get the error:</p>
  
  <pre><code>Uncaught TypeError: Cannot use 'in' operator to search for 'model' in foo123
  </code></pre>
  
  <p>where foo123 is the account id. </p>
  
  <p>What am I doing wrong?</p>