Sha256: 0e22814c1298bd8e9a5a1cff42cf3db884047ecb70c8057df8415020eef289bf

Contents?: true

Size: 745 Bytes

Versions: 2

Compression:

Stored size: 745 Bytes

Contents

<h1>Listing private_posts</h1>

<table>
  <thead>
    <tr>
      <th>Title</th>
      <th>Body</th>
      <th>Published</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><%= private_post.published %></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

2 entries across 2 versions & 1 rubygems

Version Path
simple_token_authentication-1.0.0.pre.5 test/dummy/app/views/private_posts/index.html.erb
simple_token_authentication-1.0.0.beta.5 test/dummy/app/views/private_posts/index.html.erb