forked from OpenNeo/impress
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:
parent
3eb40b2a4f
commit
671e0becb6
1 changed files with 2 additions and 0 deletions
|
@ -1,3 +1,5 @@
|
|||
- subtitle = nil unless defined? subtitle
|
||||
|
||||
%tr
|
||||
%td.thumbnail-cell
|
||||
= link_to item_thumbnail_for(item), item, target: "_blank",
|
||||
|
|
Loading…
Reference in a new issue