Skip to content

Commit

Permalink
fix: prettier fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
imbhargav5 committed Jan 31, 2022
1 parent ee5c60a commit 6210419
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docs/guides/4-adding-redirect-rules-to-routes.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@ Redirection at the route config level is super easy with Yarr. The code sandbox

## Always redirect from one path to another path

There are scenarios where we want to avoid a user from ever landing on a path. It could be for the following reasons - Feature at the page is deprecated - Page now has a new location
There are scenarios where we want to avoid a user from ever landing on a path. It could be for the following reasons

- Feature at the page is deprecated
- Page now has a new location

It is handy in this case to supply a redirection rule at the route level. It can be done with yarr like so.

Expand Down

0 comments on commit 6210419

Please sign in to comment.