Skip to content

Commit

Permalink
Merge pull request #53 from christopher-b/patch-1
Browse files Browse the repository at this point in the history
Fix `Header` example on index.md
  • Loading branch information
joeldrapper authored Nov 27, 2024
2 parents eb6db27 + 5fc964b commit 19392a0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions handbook/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ Now we can use this `Nav` component to build out our menu in our `Header` compon
class Header < Phlex::HTML
def view_template
render Nav.new do |nav|
nav.item("/") { "Home "}
nav.item("/about") { "About" }
nav.item("/contact") { "Contact" }
nav.item("Home", "/")
nav.item("About", "/about")
nav.item("Contact", "/contact")
end
end
end
Expand Down

0 comments on commit 19392a0

Please sign in to comment.