rewrite CommentsController#index to have everything in one call

This commit is contained in:
raluka 2015-09-08 12:15:22 +02:00
parent 449d466f7d
commit b762b82e74
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