Skip to content

Commit 768f6b7

Browse files
therealpecusposva
authored andcommitted
docs: $route.redirectedFrom (#2043)
* Expose redirectedFrom property in $route object * fix typo * Add note on props and meta fields on redirects * [skip ci]
1 parent 9015fa7 commit 768f6b7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Diff for: docs/en/api/route-object.md

+4
Original file line numberDiff line numberDiff line change
@@ -87,3 +87,7 @@ The route object can be found in multiple places:
8787
- **$route.name**
8888

8989
The name of the current route, if it has one. (See [Named Routes](../essentials/named-routes.md))
90+
91+
- **$route.redirectedFrom**
92+
93+
The name of the route being redirected from, if there were one. (See [Redirect and Alias](../essentials/redirect-and-alias.md))

0 commit comments

Comments
 (0)