Sha256: 1ffa70e931df0a457291a5367d023f7d3f963d7a9ba70ac5ed61f0502ca473fb

Contents?: true

Size: 697 Bytes

Versions: 2

Compression:

Stored size: 697 Bytes

Contents

<h1>Listing tokens</h1>

<table>
  <thead>
    <tr>
      <th>Imageable_id</th>
      <th>Imageable_type</th>
      <th>Auth_token</th>
      <th></th>
      <th></th>
      <th></th>
    </tr>
  </thead>

  <tbody>
    <% @tokens.each do |token| %>
      <tr>
        <td><%= token.imageable_id %></td>
        <td><%= token.imageable_type %></td>
        <td><%= token.auth_token %></td>
        <td><%= link_to 'Show', token %></td>
        <td><%= link_to 'Edit', edit_token_path(token) %></td>
        <td><%= link_to 'Destroy', token, method: :delete, data: { confirm: 'Are you sure?' } %></td>
      </tr>
    <% end %>
  </tbody>
</table>

<br>

<%= link_to 'New Token', new_token_path %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
arcadex-1.0.4 app/views/arcadex/tokens/index.html.erb
arcadex-1.0.3 app/views/arcadex/tokens/index.html.erb