Skip to content

Commit

Permalink
Fix bug in seeds file listing on installation.md
Browse files Browse the repository at this point in the history
The URL params will be passed with string keys, but the  line with `@beacon_path_params.blog_slug` is looking for an atom as the key, and so will fail with a KeyError.
  • Loading branch information
mattvanhorn authored Oct 5, 2023
1 parent 884fbf7 commit 08a6711
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guides/introduction/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ For more info on site options, check out `Beacon.start_link/1`.
<main>
<h2>A blog</h2>
<ul>
<li>Path Params Blog Slug: <%%= @beacon_path_params.blog_slug %></li>
<li>Path Params Blog Slug: <%%= @beacon_path_params["blog_slug"] %></li>
<li>Live Data blog_slug_uppercase: <%%= @beacon_live_data.blog_slug_uppercase %></li>
</ul>
</main>
Expand Down

0 comments on commit 08a6711

Please sign in to comment.