diff options
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) %> |