Skip to content

Commit

Permalink
Link to deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
wagenet committed Jul 20, 2023
1 parent 990f77e commit c00b33f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/@ember/routing/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1153,7 +1153,8 @@ class Route<Model = unknown> extends EmberObject.extend(ActionHandler, Evented)
handled by the `error` hook on `Route`.
Note that the legacy behavior of automatically defining a model
hook when a dynamic segment ending in `_id` is present is deprecated.
hook when a dynamic segment ending in `_id` is present is
[deprecated](https://deprecations.emberjs.com/v5.x#toc_deprecate-implicit-route-model).
You should explicitly define a model hook whenever any segments are
present.
Expand Down

0 comments on commit c00b33f

Please sign in to comment.