Skip to content
This repository has been archived by the owner on Oct 25, 2018. It is now read-only.

fixes typo on rendering-with-helpers guide #14

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion guides/routing/specifying-a-routes-model/index.html
Expand Up @@ -440,7 +440,7 @@ <h3 class='anchorable-toc' id='toc_dynamic-models'>Dynamic Models</h3>
use the Ember router with Ember Data, your dynamic segments will work
as expected out of the box.</p>

<p>Note: A route with a dynamic segment will only have it&#39;s <code>model</code> hook called
<p>Note: A route with a dynamic segment will only have its <code>model</code> hook called
when it is entered via the URL. If the route is entered through a transition
(e.g. when using the <a href="/guides/templates/links">linkTo</a> Handlebars helper), then a model context is
already provided and the hook is not executed. Routes without dynamic segments
Expand Down
2 changes: 1 addition & 1 deletion guides/templates/rendering-with-helpers/index.html
Expand Up @@ -547,7 +547,7 @@ <h3 class='anchorable-toc' id='toc_the-code-render-code-helper'>The <code>{{rend
<p>In this example, render will:</p>

<ul>
<li>Gets an instance of App.AuthorView if that class exists, otherwise uses a default generated view</li>
<li>Get an instance of App.AuthorView if that class exists, otherwise uses a default generated view</li>
<li>Use the corresponding template (in this case the default of &quot;author&quot;)</li>
<li>Get (or generate) the singleton instance of AuthorController</li>
<li>Set the AuthorController&#39;s model to the 2nd argument passed to render, here the author field on the post</li>
Expand Down