Sha256: 9d2bfe05b776f6338ac7a98c656ab0836d3cbf680d1b16d6e2b95d1e6ac06719

Contents?: true

Size: 673 Bytes

Versions: 1

Compression:

Stored size: 673 Bytes

Contents

<h1>Listing private_posts</h1>

<table>
  <thead>
    <tr>
      <th>Title</th>
      <th>Body</th>
      <th></th>
      <th></th>
      <th></th>
    </tr>
  </thead>

  <tbody>
    <% @private_posts.each do |private_post| %>
      <tr>
        <td><%= private_post.title %></td>
        <td><%= private_post.body %></td>
        <td><%= link_to 'Show', private_post %></td>
        <td><%= link_to 'Edit', edit_private_post_path(private_post) %></td>
        <td><%= link_to 'Destroy', private_post, method: :delete, data: { confirm: 'Are you sure?' } %></td>
      </tr>
    <% end %>
  </tbody>
</table>

<br>

<%= link_to 'New Private post', new_private_post_path %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
simple_token_authentication-1.2.0 spec/dummy/app/views/private_posts/index.html.erb