mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-15 08:31:42 +00:00
no procesar la fila el array está vacío
This commit is contained in:
parent
c287ec649a
commit
cc06bcc385
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@
|
|||
%table
|
||||
%thead
|
||||
%tr
|
||||
- data.first.keys.each do |k|
|
||||
- !data.empty? && data.first.keys.each do |k|
|
||||
%th= k.humanize
|
||||
%tbody
|
||||
- data.each do |r|
|
||||
|
|
Loading…
Reference in a new issue