Skip to content

Commit

Permalink
Fix comments
Browse files Browse the repository at this point in the history
  • Loading branch information
bernardeli committed Dec 8, 2013
1 parent cec1b06 commit 084d751
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion app/views/shared/_comments.html.haml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.container
#comments
= render @resource.comments
= render commentable.comments

= render 'comments/form', commentable: commentable

6 changes: 0 additions & 6 deletions app/views/users/show.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,3 @@
= select_tag :tag_id, options_for_select(@tags.map{|tag| [tag.name, tag.id]}), { prompt: 'Add tag' }
%button.icon-plus.icon-only{type: 'submit'} Add

-# .container
-# #comments
-# = render @user.comments
-# = render 'comments/form', commentable: commentable

0 comments on commit 084d751

Please sign in to comment.