Title | Text | |||
---|---|---|---|---|
<%= article.title %> | <%= article.text %> | <%= link_to 'Show', action: :show, id: article.id %> | <%= link_to 'Edit', action: :edit, id: article.id %> | <%= link_to 'Destroy', { action: :destroy, id: article.id }, method: :delete, data: { confirm: 'Are you sure?' } %> |