WIP modified CommentsController#index

This commit is contained in:
raluka 2015-09-09 12:15:59 +02:00
parent bc67cac873
commit 945bac1fe8
4 changed files with 30 additions and 5 deletions

View file

@ -1,2 +1,10 @@
.panel.well
Some text
%ul
- @unread_comments.each do |conference, events|
%i.li= conference.title
- events.each do |event, comments|
%b.li= event.title
- comments.each do |comment|
%li= comment.body
%li= comment.user.name
%li= comment.created_at