Iron Router 1.0 Update
Updating the book for Iron Router 1.0.
- Defining routes with new path-first syntax.
- Use
subscriptions
instead ofonBeforeAction
in posts controller. - Use
this.next()
inonBeforeAction
hook. - Rename
XyzPostsListController
toXyzPostsController
.