title: Backbone. Pass argument from router to view/collection?
body: <p>Having some trouble getting my data where i want it to.</p>
  
  <p>In my Router i've a a function passing an ID like so:</p>
  
  <pre><code>    routes: {
          'deck/:id': 'getDeckId'
      },
      getDeckId: function(id) {
          this.loadView(new DeckView())
      },
      loadView: function(view) {
          this.view &amp;&amp; (this.view.kill ? this.view.kill() : this.view.remove());
          this.view = view;
      } 
  </code></pre>
  
  <p>In my collection i load a JSON file. To that URL, I want to add the ID that I pass in my router.</p>
  
  <pre><code>var DeckCollection = Backbone.Collection.extend({  
      model: DeckModel,  
      url: "myUrl"+id, //the id i passing from my router
      parse: function (response) {
          return response;
      },
      initialize: function() {
  
      },
      return DeckCollection;
  });
  </code></pre>
  
  <p>The view</p>
  
  <pre><code>var DeckView = Backbone.View.extend({
     //initialize etc
  });
  </code></pre>
  
  <p>So when the view initialises, I want to load this JSON with the passed ID from the router.  How would I do that?</p>