Stop subscribing to posts Publication in router
- Don't need to retrieve all posts in the database because we are using pagination
- Will limit how many posts are retrieved by passing in parameter in route path
- Currently users are only subscribed to the notifications collection
Add a parameter to postsList path
- Add a postsLimit parameter to the post route's path which will determine how many posts to load per paginated page
- The postsLimit parameter is optional
Edit subscription limit to posts
- Set postLimit variable by parsing the postLimit parameter passed through via the path
- If no postLimit variable was passed through via the path, the default will be set to 5
- This route will return the last five submitted posts and populate the page with them
Refine posts publication with options
- Searching for posts via publication is now refined by passing in options to the search query
- Publications will be passed a limit option which will specify how many publications to publish on the server-side
Add data variable to postsLists route
- data variable will parse the postsLimit parameter
- if no postLimit parameter was passed, then the default is 5
- returns paginated posts sorted by most recently submitted
Merge pull request #33 from alexanderdavidpan/Augment_postsList_Route_With_Limit

Augment posts list route with limit