implemented forum post controller
This commit is contained in:
7
app/views/comments/index_by_comment.html.erb
Normal file
7
app/views/comments/index_by_comment.html.erb
Normal file
@@ -0,0 +1,7 @@
|
||||
<div class="comments">
|
||||
<div class="index">
|
||||
<% @comments.each do |comment| %>
|
||||
<%= render :partial => "comments/partials/index/list", :locals => {:post => comment.post, :comments => [comment], :show_header => false} %>
|
||||
<% end %>
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user