summaryrefslogtreecommitdiff
path: root/app/views/locations
diff options
context:
space:
mode:
authorDavid Gay <david@davidgay.org>2021-05-04 17:55:28 -0400
committerDavid Gay <david@davidgay.org>2021-05-04 17:57:12 -0400
commit73744a9c6840fb0ba6f285ca81f9fba75ec22d5f (patch)
tree837333e9e46c5ccc6cf50214a94c2b9b6d0bb7f3 /app/views/locations
parentdddbf75428477f5e073584939d098e55d6324be3 (diff)
Initial draft of timer setup, with results outputting and items being awarded
Diffstat (limited to 'app/views/locations')
-rw-r--r--app/views/locations/show.html.erb3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/views/locations/show.html.erb b/app/views/locations/show.html.erb
index c3a75e1..bc63541 100644
--- a/app/views/locations/show.html.erb
+++ b/app/views/locations/show.html.erb
@@ -2,6 +2,7 @@
<ul>
<% @location.activities.each do |activity| %>
- <li><span class="font-bold"><%= link_to activity.name, "#" %></span> – <%= activity.description %></li>
+ <li><span class="font-bold"><%= link_to activity.name, activity_path(activity) %></span>
+ – <%= activity.description %></li>
<% end %>
</ul>