Sha256: 390c83b6db08eedeedb803af7bc59b76a2111502997539b0916e7297acec4faf
Contents?: true
Size: 444 Bytes
Versions: 26
Compression:
Stored size: 444 Bytes
Contents
h1 Listing posts table thead tr th Title th Body th Author th th th tbody - @posts.each do |post| tr td = post.title td = post.body td = post.author td = link_to 'Show', post td = link_to 'Edit', edit_post_path(post) td = link_to 'Destroy', post, data: { confirm: 'Are you sure?' }, method: :delete br = link_to 'New Post', new_post_path
Version data entries
26 entries across 26 versions & 1 rubygems