summaryrefslogtreecommitdiff
path: root/app/views/characters/items
diff options
context:
space:
mode:
authorDavid Gay <david@davidgay.org>2021-05-27 18:26:25 -0400
committerDavid Gay <david@davidgay.org>2021-05-27 18:26:25 -0400
commit2c2de801b4481695f3d1b6b14527116092cb1197 (patch)
tree63656e5870438ce2b1185b198ff38ce73c5cf78c /app/views/characters/items
parent82ebb73bb4fc53ec5af428a88809ab8f11e52c0b (diff)
ItemsController that displays item game data
Diffstat (limited to 'app/views/characters/items')
-rw-r--r--app/views/characters/items/index.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/characters/items/index.html.erb b/app/views/characters/items/index.html.erb
index 64b58da..14d4b13 100644
--- a/app/views/characters/items/index.html.erb
+++ b/app/views/characters/items/index.html.erb
@@ -40,7 +40,7 @@
<% @character.character_items.ordered_by_item_name.each do |ci| %>
<tr>
<td class="table-cell-padded text-right"><%= ci.quantity %></td>
- <td class="table-cell-padded"><%= ci.item.name %></td>
+ <td class="table-cell-padded"><%= link_to ci.item.name, item_path(ci.item) %></td>
<td class="table-cell-padded">
<% if ci.item.equipment? %>
<%= button_to "Equip", character_item_equip_path(item_id: ci.item.id) %>