summaryrefslogtreecommitdiff
path: root/app/views/characters/hearth/index.html.erb
diff options
context:
space:
mode:
authorDavid Gay <david@davidgay.org>2021-05-26 22:26:58 -0400
committerDavid Gay <david@davidgay.org>2021-05-26 22:26:58 -0400
commit20ea3eb09d1c9847984e812df34c12dbdd48789b (patch)
tree755b7791f113cef87bea5bceddb44fdec1ea3c97 /app/views/characters/hearth/index.html.erb
parented8575488c4e506c4a07f005855e47b92620646d (diff)
Sort some things
Diffstat (limited to 'app/views/characters/hearth/index.html.erb')
-rw-r--r--app/views/characters/hearth/index.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/characters/hearth/index.html.erb b/app/views/characters/hearth/index.html.erb
index a5522ad..82dfbe8 100644
--- a/app/views/characters/hearth/index.html.erb
+++ b/app/views/characters/hearth/index.html.erb
@@ -16,7 +16,7 @@
<p class="mb-2"><%= ha.description %></p>
<% if @amenity_activities[ha.gid.to_sym] %>
<%= form_with url: start_activity_path, method: :post do |f| %>
- <%= f.select :id, @amenity_activities[ha.gid.to_sym].map { |a| [a.name, a.id] } %>
+ <%= f.select :id, @amenity_activities[ha.gid.to_sym].sort_by { |a| a.name }.map { |a| [a.name, a.id] } %>
<%= f.submit "Go" %>
<% end %>
<% end %>