Change Conference#show to load sponsors

Caching on sponsorship levels alone is not changing; as a bonus the sponsor
modals are simplified a little.
This commit is contained in:
James Mason 2018-01-17 17:03:23 -08:00
parent 82d8629e43
commit 63515cef58
3 changed files with 5 additions and 3 deletions

View file

@ -43,7 +43,8 @@
-# sponsorship
- if @conference.splashpage.include_sponsors
= render 'sponsors', conference: @conference,
sponsorship_levels: @sponsorship_levels
sponsorship_levels: @sponsorship_levels,
sponsors: @sponsors
-# footer
- if @conference.splashpage.include_social_media