title: Ember.js - Index route vs. "top-level" resource route?
body: <p>When creating a "standard" crud resource in Ember.js, what is the difference between the index route and the "main" route?</p>
  
  <p>For example, a users resource:</p>
  
  <pre><code>// app.router.js
  
  Router.map(function() {
      this.resource('users', function() {
        this.route('new');
        this.route('show', { path: '/:user_id'});
        this.route('edit', { path: '/:user_id/edit'});
      });
  });
  </code></pre>
  
  <p>Which route should contain the following "main" model hook?</p>
  
  <pre><code>// app/routes/users/index.js OR app/routes/users.js?
  
  export default Ember.Route.extend({
      model: function() {
          return this.store.find('user');
      }
  });
  </code></pre>
  
  <p>In other words, should I use the UsersRoute or the UsersIndexRoute?  I find this very confusing.  Any help is greatly appreciated.</p>