rockandrollwithemberjs / rarwe-issues

Errata and updates for the Rock and Roll with Ember.js book
https://rockandrollwithemberjs.com
43 stars 4 forks source link

[Typo] Page 183 #542

Closed jeffesterby closed 2 years ago

jeffesterby commented 2 years ago

On page 183, above the code snippet for the setupController hook:

“Setting the band property on the controller needs new knowledge, though. Ember's routing layer provides a hook that comes handy when you want to set properties on the controller: setupController. As we can access the band in the route (actually, we already do), we can leverage the setupController method to set it:”

This should be:

“Setting the band property on the controller needs new knowledge, though. Ember's routing layer provides a hook that comes in handy when you want to set properties on the controller: setupController. As we can access the band in the route (actually, we already do), we can leverage the setupController method to set it:”

balinterdi commented 2 years ago

Thank you, Jeff, this will be fixed in the next release.