spec/dummy/app/views/posts/show.html.erb in controller_resources-0.1.2 vs spec/dummy/app/views/posts/show.html.erb in controller_resources-1.0.0
- old
+ new
@@ -1,14 +1,14 @@
<p id="notice"><%= notice %></p>
<p>
<strong>Title:</strong>
- <%= post.title %>
+ <%= @post.title %>
</p>
<p>
<strong>Body:</strong>
- <%= post.body %>
+ <%= @post.body %>
</p>
-<%= link_to 'Edit', edit_post_path(post) %> |
+<%= link_to 'Edit', edit_post_path(@post) %> |
<%= link_to 'Back', posts_path %>