js/libs/ember-1.5.1.js
function(options) {
    if (!options || typeof options === "string") {
      var outletName = options;
      options = {};
      options.outlet = outletName;
    }
    options.parentView = options.parentView ? options.parentView.replace(/\//g, '.') : parentTemplate(this);
    options.outlet = options.outlet || 'main';

    var parentView = this.router._lookupActiveView(options.parentView);
    if (parentView) { parentView.disconnectOutlet(options.outlet); }
  }
function(options) {
    if (!options || typeof options === "string") {
      var outletName = options;
      options = {};
      options.outlet = outletName;
    }
    options.parentView = options.parentView ? options.parentView.replace(/\//g, '.') : parentTemplate(this);
    options.outlet = options.outlet || 'main';

    var parentView = this.router._lookupActiveView(options.parentView);
    if (parentView) { parentView.disconnectOutlet(options.outlet); }
  }
Disconnects a view that has been rendered into an outlet.

You may pass any or all of the following options to `disconnectOutlet`:

`outlet`: the name of the outlet to clear (default: 'main')
`parentView`: the name of the view containing the outlet to clear
(default: the view rendered by the parent route)

Example:

```js
App.ApplicationRoute = App.Route.extend({
actions: {
showModal: function(evt) {
this.render(evt.modalName, {
outlet: 'modal',
into: 'application'
});
},
hideModal: function(evt) {
this.disconnectOutlet({
outlet: 'modal',
parentView: 'application'
});
}
}
});
```

Alternatively, you can pass the `outlet` name directly as a string.

Example:

```js
hideModal: function(evt) {
this.disconnectOutlet('modal');
}
```

@method disconnectOutlet
@param {Object|String} options the options hash or outlet name