diff options
Diffstat (limited to 'app/views/locations')
-rw-r--r-- | app/views/locations/show.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/locations/show.html.erb b/app/views/locations/show.html.erb index 0001c99..ff7b2a8 100644 --- a/app/views/locations/show.html.erb +++ b/app/views/locations/show.html.erb @@ -3,7 +3,7 @@ <p class="italic"><%= @location.description %></p> </div> -<% @location.activities.each do |activity| %> +<% @location.activities.order(:name).each do |activity| %> <div class="my-4"> <h2 class="text-xl"><%= link_to activity.name, activity_path(activity) %></h2> <p class="italic"><%= activity.description %></p> |