Skip to content

Commit

Permalink
[docs] fix layout in nested-layouts-without-nested-urls section (#9940)
Browse files Browse the repository at this point in the history
  • Loading branch information
klirium authored Sep 5, 2024
1 parent 5dc3b67 commit 44f949c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions contributors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -703,3 +703,4 @@
- zayenz
- zhe
- zwhitchcox
- klirium
2 changes: 1 addition & 1 deletion docs/file-conventions/routes.md
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ Sometimes you want to share a layout with a group of routes without adding any p
| `/` | `app/routes/_index.tsx` | `app/root.tsx` |
| `/login` | `app/routes/_auth.login.tsx` | `app/routes/_auth.tsx` |
| `/register` | `app/routes/_auth.register.tsx` | `app/routes/_auth.tsx` |
| `/concerts` | `app/routes/concerts.tsx` | `app/routes/concerts.tsx` |
| `/concerts` | `app/routes/concerts.tsx` | `app/root.tsx` |
| `/concerts/salt-lake-city` | `app/routes/concerts.$city.tsx` | `app/routes/concerts.tsx` |

Think of the `_leading` underscore as a blanket you're pulling over the filename, hiding the filename from the URL.
Expand Down

0 comments on commit 44f949c

Please sign in to comment.