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:”
On page 183, above the code snippet for the
setupController
hook: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:”