Fix related video bar for users that aren't logged in

This commit is contained in:
Omar Roth 2018-09-14 20:10:13 -05:00
parent 5cd137d808
commit 4287c0d96a

View File

@ -116,7 +116,7 @@
</div>
</div>
<div class="pure-u-1 pure-u-md-1-5">
<% if preferences && preferences.related_videos %>
<% if !preferences || preferences && preferences.related_videos %>
<div class="h-box">
<% rvs.each do |rv| %>
<% if rv.has_key?("id") %>