Skip to content

Commit c00b33f

Browse files
committed
Link to deprecation
1 parent 990f77e commit c00b33f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/@ember/routing/route.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1153,7 +1153,8 @@ class Route<Model = unknown> extends EmberObject.extend(ActionHandler, Evented)
11531153
handled by the `error` hook on `Route`.
11541154
11551155
Note that the legacy behavior of automatically defining a model
1156-
hook when a dynamic segment ending in `_id` is present is deprecated.
1156+
hook when a dynamic segment ending in `_id` is present is
1157+
[deprecated](https://deprecations.emberjs.com/v5.x#toc_deprecate-implicit-route-model).
11571158
You should explicitly define a model hook whenever any segments are
11581159
present.
11591160

0 commit comments

Comments
 (0)