diff options
Diffstat (limited to 'app/views/locations')
-rw-r--r-- | app/views/locations/show.html.erb | 3 |
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> |