Swags stored correctly

This commit is contained in:
nasia 2017-08-26 20:41:36 +03:00
parent 2042d0eb7a
commit 4381f687b6
7 changed files with 18 additions and 28 deletions

View file

@ -69,12 +69,12 @@
%b Swag's Type
%td
%b Quantity
%tr
- @sponsor.swag_hash.each do |key, value|
- @sponsor.swags.each do |key, value|
%tr
%td.col-md-2
= key
= value[:type]
%td
= value
= value[:quantity]