Skip to content

Commit

Permalink
Fix file names in tutorial
Browse files Browse the repository at this point in the history
  • Loading branch information
brophdawg11 committed Aug 25, 2023
1 parent 99a3490 commit 9636bfb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/start/tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -838,7 +838,7 @@ If we review code in the contact route, we can find the delete button looks like
</Form>
```

Note the `action` points to `"destroy"`. Like `<Link to>`, `<Form action>` can take a _relative_ value. Since the form is rendered in `contact.$contactId.tsx`, then a relative action with `destroy` will submit the form to `contact.$contactId.destroy` when clicked.
Note the `action` points to `"destroy"`. Like `<Link to>`, `<Form action>` can take a _relative_ value. Since the form is rendered in `contacts.$contactId.tsx`, then a relative action with `destroy` will submit the form to `contacts.$contactId.destroy` when clicked.

At this point you should know everything you need to know to make the delete button work. Maybe give it a shot before moving on? You'll need:

Expand Down

0 comments on commit 9636bfb

Please sign in to comment.