Skip to content

Commit 7b5f1e7

Browse files
committed
Auto merge of #2026 - integer32llc:fix-a-deprecation-warning, r=Turbo87
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.
2 parents 48d6b62 + dcfa556 commit 7b5f1e7

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)