title: ember.js - render() cannot find template specified by `into:` option
body: <p>I would love some help on this as I've been trying to get this work for a few hours now. It seems like it should be something easy to do.</p>
  
  <p>I'm trying to create a separate layout within my Ember app. For example sake, there's the public <code>application.hbs</code> layout, and a private <code>admin.hbs</code> layout.</p>
  
  <p>On my route/admin.js, I have tried to use the <code>renderTemplate()</code> function to no avail.</p>
  
  <p><strong>route/admin-dashboard.js</strong></p>
  
  <pre><code>import Route from '@ember/routing/route';
  
  export default Route.extend({
    renderTemplate(){
      this.render('admin-dashboard', {
        into: 'admin'
      });
    }
  });
  </code></pre>
  
  <p><strong>templates/admin.hbs:</strong>
  ``` 
  {{outlet}}
  ````</p>
  
  <p>When doing this, I get the following error in my console: <code>Error: Assertion Failed: You attempted to render into 'admin' but it was not found</code>.</p>
  
  <p>The documentation seems to explain this simply, but it does not seem to match the actual behavior. For convenience, here's the example in the documentation. The key parts are the first parameter, and the <strong><code>into</code></strong> and <strong><code>outlet</code></strong> options. </p>
  
  <pre><code>import Route from '@ember/routing/route';
  
  export default Route.extend({
    renderTemplate(controller, model){
      this.render('posts', {    // the template to render, referenced by name
        into: 'application',    // the template to render into, referenced by name
        outlet: 'anOutletName', // the outlet inside `options.into` to render into.
        controller: 'someControllerName', // the controller to use for this template, referenced by name
        model: model            // the model to set on `options.controller`.
      })
    }
  });
  </code></pre>
  
  <p><a href="https://emberjs.com/api/ember/2.17/classes/Route/methods/render?anchor=render" rel="nofollow noreferrer">https://emberjs.com/api/ember/2.17/classes/Route/methods/render?anchor=render</a> </p>
  
  <p>According to the documentation as well, if <strong><code>outlet</code></strong> is not passed, it will default to either using <code>{{outlet}}</code> or <code>{{outlet 'main'}}</code>, so there's no need to specify it explicitly from what I can tell. That said, I have tried specifying it explicitly and, again, to no avail.</p>
  
  <p>Thanks in advance!</p>