diff --git a/app/views/admin/events/registrations.html.haml b/app/views/admin/events/registrations.html.haml index 227c0138..f86f8325 100644 --- a/app/views/admin/events/registrations.html.haml +++ b/app/views/admin/events/registrations.html.haml @@ -11,7 +11,7 @@ for = @event.title - - if @event.room && (@event_registrations.length > @event.room.size) + - if @event.room.try(:size) && (@event_registrations.length > @event.room.size) %b Attention: You have more registrations than the capacity of the room!