Skip to content

Commit

Permalink
Update docs to match native class syntax
Browse files Browse the repository at this point in the history
The example code snippet here assumes it will be used in a classic-style class body, but all the rest of the docs are updated for native class syntax.

(cherry picked from commit 5e15802)
  • Loading branch information
ef4 authored and kategengler committed Mar 21, 2022
1 parent 8060f84 commit 815f836
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/@ember/-internals/routing/lib/system/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ class Route<T extends IModel = {}>
(assuming a query param whose controller property is `page`):
```javascript
queryParams: {
queryParams = {
page: {
// By default, controller query param properties don't
// cause a full transition when they are changed, but
Expand Down Expand Up @@ -403,7 +403,7 @@ class Route<T extends IModel = {}>
// different URL key.
as: 'page'
}
}
};
```
@property queryParams
Expand Down

0 comments on commit 815f836

Please sign in to comment.