emberjs/ember.js — pull request #1067 by musically-ut (2012-06-25 11:37:49+00:00)
Title: Fix documentation

Fixed minor typos with two main changes:

* Changed 'connectOutlets' to 'enter' in an example:

```javascript
App = Ember.Application.create({
Router: Ember.Router.extend({
root: Ember.Route.extend({
aRoute: Ember.Route.extend({
route: '/',
enter: function(router, transition){
console.log("entering root.aRoute from", router.getPath('currentState.name'));
},
connectOutlets: function(router){
console.log("entered root.aRoute, fully transitioned to", router.getPath('currentState.path'));
}
})
})
})
});
App.initialize();
```
* Added Ember.Controller to the list of controller classes which previously was "Ember.ObjectController, Ember.ArrayController, or a custom Ember.Object that includes the Ember.ControllerMixin mixin.".