Skip to content

Commit

Permalink
Update README with task to fix show board link
Browse files Browse the repository at this point in the history
  • Loading branch information
maikhel committed Jul 17, 2024
1 parent 233cac6 commit 9f89536
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -229,3 +229,18 @@ Add turbo frames to board headers to edit board name in place
**Branch with all edits-in-place:** `git checkout turbo-frames-edits`
### Task 4: Fix show board link
1. Update `app/views/boards/index.html.erb` - add `data: { turbo_frame: '_top' }` to show link:
<details>
<summary>Updated file:</summary>
```erb
<h5 class="card-title mb-0">
<%= link_to board.name, board, data: { turbo_frame: '_top'}, class: 'link-underline link-underline-opacity-0' %>
</h5>
```
</details>
**Branch with fixed link:** `git checkout turbo-frames-top`

0 comments on commit 9f89536

Please sign in to comment.