Commit 428044f
Add missing edit view and Edit link for logs (#1871)
LogsController#edit/#update, the route, and the shared _form partial
already existed, but app/views/logs/edit.html.slim was never added, so
visiting the edit URL crashed with a missing-template error. The show
page also had no Edit link, so there was no way to reach the page at
all. Add the template (mirrors new.html.slim) and an Edit button next
to Delete on the show page.
Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>1 parent f93fd3b commit 428044f
2 files changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
| 12 | + | |
12 | 13 | | |
0 commit comments