Oops, fix recent bug in Item Getting Guide for most item types

Oh oops, I added an optional `subtitle` argument for the item table
list row template, but didn't realize that it would crash in cases when
not provided! Now, we add an initializer to set it to `nil` if
undefined.
This commit is contained in:
Emi Matchu 2024-05-28 17:05:28 -07:00
parent 3eb40b2a4f
commit 671e0becb6

View file

@ -1,3 +1,5 @@
- subtitle = nil unless defined? subtitle
%tr %tr
%td.thumbnail-cell %td.thumbnail-cell
= link_to item_thumbnail_for(item), item, target: "_blank", = link_to item_thumbnail_for(item), item, target: "_blank",