This commit is contained in:
Vidit 2017-11-07 18:36:54 +00:00 • committed by GitHub
commit 9c1f65a6aa

View file

@ -8,5 +8,5 @@
%h4.title= link_to event.title, admin_conference_program_event_path(event.program.conference.short_title, event)
%hr
- comments.each do |comment|
%h5.strong Posted by: #{comment.user.name} | Created at: #{comment.created_at}
%h5.strong Posted by: #{comment.user.nil? ? 'Anonymous' : comment.user.name} | Created at: #{comment.created_at}
%p= comment.body