cancan-attr-test/app/views/posts/show.html.erb

21 lines
253 B
Plaintext
Raw Permalink Normal View History

2013-06-28 05:22:16 +00:00
<p id="notice"><%= notice %></p>
<p>
<b>User:</b>
<%= @post.user %>
</p>
<p>
<b>Title:</b>
<%= @post.title %>
</p>
<p>
<b>Body:</b>
<%= @post.body %>
</p>
<%= link_to 'Edit', edit_post_path(@post) %> |
<%= link_to 'Back', posts_path %>