diff options
author | David Gay <david@davidgay.org> | 2021-05-27 18:26:25 -0400 |
---|---|---|
committer | David Gay <david@davidgay.org> | 2021-05-27 18:26:25 -0400 |
commit | 2c2de801b4481695f3d1b6b14527116092cb1197 (patch) | |
tree | 63656e5870438ce2b1185b198ff38ce73c5cf78c /app/views/characters | |
parent | 82ebb73bb4fc53ec5af428a88809ab8f11e52c0b (diff) |
ItemsController that displays item game data
Diffstat (limited to 'app/views/characters')
-rw-r--r-- | app/views/characters/items/index.html.erb | 2 |
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) %> |