neuigkeit calentrynil? fix

This commit is contained in:
Andreas Stephanides
2015-05-13 11:21:54 +02:00
parent bac4c5f924
commit 42b6503707

View File

@@ -25,7 +25,7 @@
<% elsif neuigkeit.has_meeting? %>
<div class="pull-right" href="#">
<%= fa_icon("calendar 2x") %>
<%= neuigkeit.meeting.calentry.text %>
<%= neuigkeit.meeting.calentry.text unless neuigkeit.meeting.calentry.nil? %>
</div>
<% end %>