rewrite CommentsController#index to have everything in one call

This commit is contained in:
raluka 2015-09-08 12:15:22 +02:00
parent 1addae9cd9
commit 8dd0ac7c1d
2 changed files with 2 additions and 3 deletions

View file

@ -1,6 +1,6 @@
.panel.well
%ul
- @another_comments.each do |conference, events|
- @comments.each do |conference, events|
%li= conference.title
- events.each do |event, comments|
%li= event.title