Sha256: 84d5513118ab8355e32220fef0fde940c558a7e458d9ddbdfaa4538d8103ee3e
Contents?: true
Size: 538 Bytes
Versions: 4
Compression:
Stored size: 538 Bytes
Contents
<h1>Listing comments</h1> <table> <tr> <th>Post</th> <th>Title</th> <th>Body</th> </tr> <% @comments.each do |comment| %> <tr> <td><%=h comment.post_id %></td> <td><%=h comment.title %></td> <td><%=h comment.body %></td> <td><%= link_to 'Show', comment %></td> <td><%= link_to 'Edit', edit_comment_path(comment) %></td> <td><%= link_to 'Destroy', comment, :confirm => 'Are you sure?', :method => :delete %></td> </tr> <% end %> </table> <br /> <%= link_to 'New comment', new_comment_path %>
Version data entries
4 entries across 4 versions & 1 rubygems