
Almost all actions on views were not properly handled, because they were still methods directly on a view object rather than in `actions` property. This commit fixes it.
7 lines
194 B
Handlebars
7 lines
194 B
Handlebars
{{#each flash in controller}}
|
|
{{#view Travis.FlashItemView flashBinding="flash"}}
|
|
<p>{{{flash.message}}}</p>
|
|
<a class="close" {{action "close" target=view}}></a>
|
|
{{/view}}
|
|
{{/each}}
|