rewrite CommentsController#index to have everything in one call
This commit is contained in:
parent
449d466f7d
commit
b762b82e74
2 changed files with 2 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue