Yet another NPE fix

This commit is contained in:
Godwin 2018-11-08 06:59:17 -08:00 committed by GitHub
parent cee50472a3
commit eb20538beb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,5 +22,5 @@
= columns(medium: 12) do
%h3=_'articles.admin.stats.headings.past_stats'
%ul.actions.center
- @past_conferences.each do |conference|
- (@past_conferences || []).each do |conference|
= link_to conference.title, previous_stats_path(@this_conference.slug, conference.slug, format: :xlsx), class: [:button, :download]