Skip to content

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

Merged
jenweber merged 2 commits into
ember-learn:masterfrom
zachgarwood:simplify-an-index-route-section
Nov 29, 2018
Merged

jenweber merged 2 commits into
ember-learn:masterfrom
zachgarwood:simplify-an-index-route-section

Conversation

@zachgarwood

Copy link
Copy Markdown
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

@jenweber jenweber left a comment

Copy link
Copy Markdown
Contributor

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.

@zachgarwood

Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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