Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #50 from raulbrito/master

Fix name of view that is being discussed
  • Loading branch information...
commit 4201652393d58eb9665360674d7b2f487dbca546 2 parents cb169c1 + 996ac1f
@wagenet wagenet authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 source/docs/handlebars.md
View
4 source/docs/handlebars.md
@@ -498,7 +498,7 @@ App.UserView = Ember.View.extend({
});
```
-When we only have a few bindings to configure, like with `App.InfoView`, it is
+When we only have a few bindings to configure, like with `App.UserView`, it is
sometimes useful to be able to declare those bindings in the template. You can
do that by passing additional arguments to the `{{#view}}` helper. If all
you're doing is configuring bindings, this often allows you to bypass having to
@@ -506,7 +506,7 @@ create a new subclass.
```html
User: {{firstName}} {{lastName}}
-{{#view App.InfoView postsBinding="App.userController.content.posts"
+{{#view App.UserView postsBinding="App.userController.content.posts"
hobbiesBinding="App.userController.content.hobbies"}}
<b>Posts:</b> {{posts}}
<br>
Please sign in to comment.
Something went wrong with that request. Please try again.