docs: function(name, options) {
          Ember.assert("The name in the given arguments is undefined", arguments.length > 0 ? !isNone(arguments[0]) : true);
  
          var namePassed = typeof name === 'string' && !!name;
  
          if (typeof name === 'object' && !options) {
            options = name;
            name = this.routeName;
          }
  
          options = options || {};
          options.namePassed = namePassed;
  
          var templateName;
  
          if (name) {
            name = name.replace(/\//g, '.');
            templateName = name;
          } else {
            name = this.routeName;
            templateName = this.templateName || name;
          }
  
          var viewName = options.view || namePassed && name || this.viewName || name;
  
          var container = this.container;
          var view = container.lookup('view:' + viewName);
          var template = view ? view.get('template') : null;
  
          if (!template) {
            template = container.lookup('template:' + templateName);
          }
  
          if (!view && !template) {
            Ember.assert("Could not find \"" + name + "\" template or view.", Ember.isEmpty(arguments[0]));
            if (get(this.router, 'namespace.LOG_VIEW_LOOKUPS')) {
              Ember.Logger.info("Could not find \"" + name + "\" template or view. Nothing will be rendered", { fullName: 'template:' + name });
            }
            return;
          }
  
          options = normalizeOptions(this, name, template, options);
          view = setupView(view, container, options);
  
          if (options.outlet === 'main') { this.lastRenderedTemplate = name; }
  
          appendView(this, view, options);
        }