Skip to content

Commit dcfa556

Browse files
committed
DEPRECATION: Passing actions to components as strings is deprecated.
DEPRECATION: Passing actions to components as strings (like `{{input enter="search"}}`) is deprecated. Please use closure actions instead (`{{input enter=(action "search")}}`). ('cargo/templates/catch-all.hbs' @ L6:C2) [deprecation id: ember-component.send-action] See https://emberjs.com/deprecations/v3.x#toc_ember-component-send-action for more details.
1 parent face1f3 commit dcfa556

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/templates/catch-all.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66
{{input type="text" class="search"
77
placeholder="Search"
88
value=search
9-
enter="search"
9+
enter=(action "search")
1010
required=true}}
1111
</p>

0 commit comments

Comments
 (0)