Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplifies the "All we want to do..." portion #281

Merged
merged 2 commits into from
Nov 29, 2018
Merged

Simplifies the "All we want to do..." portion #281

merged 2 commits into from
Nov 29, 2018

Conversation

zachgarwood
Copy link
Contributor

On the Routes & Templates page, in the An Index Route section, the
paragraphs starting at "All we want to do..." present too much
ancillary information. This change simplifies it to focus on just the
beforeModel() hook and the replaceWith() function.

This addresses one of the "tiny tutorial fixes" @jenweber listed
in #245.

On the Routes & Templates page, in the An Index Route section, the
paragraphs starting at "All we want to do..." presents too much
ancillary data. This change simplifies it to focus on just the
beforeModel() hook and the replaceWith() function.
@jenweber jenweber self-requested a review November 20, 2018 04:08
Copy link
Contributor

@jenweber jenweber left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just one small change requested! I think we still need to say what a lifecycle hook is.

Co-Authored-By: zachgarwood <iam@zachgarwood.com>
@zachgarwood
Copy link
Contributor Author

@jenweber I think your suggestion was succinct and provides exactly as much context as needed, namely that hooks are called automatically at certain events.

@jenweber
Copy link
Contributor

Cool, thanks! Merged.

@jenweber jenweber merged commit c6d0dc2 into ember-learn:master Nov 29, 2018
jenweber added a commit that referenced this pull request Nov 29, 2018
@jenweber
Copy link
Contributor

Note to self, this has been added to the 3.6 staging.

@zachgarwood zachgarwood deleted the simplify-an-index-route-section branch November 29, 2018 17:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants