Use PictureUploader on Sponsor

This commit is contained in:
Henne Vogelsang 2016-04-27 15:55:39 +02:00
parent 0ad3ff01c3
commit f1f5fc1cd4
6 changed files with 12 additions and 25 deletions

View file

@ -19,7 +19,7 @@
- @conference.sponsors.each do |sponsor|
%tr
%td
= image_tag(sponsor.logo(:thumb), width: '20%')
= image_tag(sponsor.picture.thumb.url, width: '20%')
%td
= sponsor.name
%td