<%= notice %>
Content | Author | Actions | ||
---|---|---|---|---|
<%= post.content %> | <%= post.author.first_name %> <%= post.author.last_name %> | <%= link_to 'Show', post %> | <%= link_to 'Edit', edit_post_path(post) %> | <%= link_to 'Destroy', post, method: :delete, data: { confirm: 'Are you sure?' } %> |