From 2c2de801b4481695f3d1b6b14527116092cb1197 Mon Sep 17 00:00:00 2001 From: David Gay Date: Thu, 27 May 2021 18:26:25 -0400 Subject: ItemsController that displays item game data --- app/views/characters/items/index.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/views/characters') 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| %> <%= ci.quantity %> - <%= ci.item.name %> + <%= link_to ci.item.name, item_path(ci.item) %> <% if ci.item.equipment? %> <%= button_to "Equip", character_item_equip_path(item_id: ci.item.id) %> -- cgit v1.2.3