Skip to content

Commit

Permalink
Merge pull request #14982 from Bestra/master
Browse files Browse the repository at this point in the history
[DOC] Document setupController hook behavior when model is undefined
  • Loading branch information
locks authored Jul 6, 2017
2 parents 6ccb095 + 4c8efd1 commit e32073b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ember-routing/lib/system/route.js
Original file line number Diff line number Diff line change
Expand Up @@ -1680,7 +1680,7 @@ let Route = EmberObject.extend(ActionHandler, Evented, {
model supplied by the `model` hook.
By default, the `setupController` hook sets the `model` property of
the controller to the `model`.
the controller to the specified `model` when it is not `undefined`.
If you implement the `setupController` hook in your Route, it will
prevent this default behavior. If you want to preserve that behavior
Expand Down

0 comments on commit e32073b

Please sign in to comment.