summaryrefslogtreecommitdiff
path: root/app/views/characters/hearth/index.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/characters/hearth/index.html.erb')
-rw-r--r--app/views/characters/hearth/index.html.erb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/characters/hearth/index.html.erb b/app/views/characters/hearth/index.html.erb
index c95977e..7baf2bf 100644
--- a/app/views/characters/hearth/index.html.erb
+++ b/app/views/characters/hearth/index.html.erb
@@ -14,9 +14,9 @@
<% if built_amenity %>
<p class="mb-2">Level <%= built_amenity.level %></p>
<p class="mb-2"><%= ha.description %></p>
- <% if ha.gid == "forge" %>
+ <% if @amenity_activities[ha.gid.to_sym] %>
<%= form_with url: start_activity_path, method: :post do |f| %>
- <%= f.select :id, @forge_activities.map { |a| [a.name, a.id] } %>
+ <%= f.select :id, @amenity_activities[ha.gid.to_sym].map { |a| [a.name, a.id] } %>
<%= f.submit "Go" %>
<% end %>
<% end %>