summaryrefslogtreecommitdiff
path: root/app/views/characters/items
diff options
context:
space:
mode:
authorDavid Gay <david@davidgay.org>2021-05-26 22:26:58 -0400
committerDavid Gay <david@davidgay.org>2021-05-26 22:26:58 -0400
commit20ea3eb09d1c9847984e812df34c12dbdd48789b (patch)
tree755b7791f113cef87bea5bceddb44fdec1ea3c97 /app/views/characters/items
parented8575488c4e506c4a07f005855e47b92620646d (diff)
Sort some things
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 20b43c0..64b58da 100644
--- a/app/views/characters/items/index.html.erb
+++ b/app/views/characters/items/index.html.erb
@@ -11,7 +11,7 @@
</tr>
</thead>
<tbody>
- <% @character.equipment.each do |eq| %>
+ <% @character.equipment.order(:slot).each do |eq| %>
<tr>
<td class="table-cell-padded"><%= eq.slot.to_s %></td>
<td class="table-cell-padded"><%= eq.item.name %></td>