1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Getting Started Guide Code Cleanup

This commit is contained in:
Oscar Del Ben 2012-05-01 10:58:16 +02:00
parent 4eb482efbc
commit 2a15598ae8
2 changed files with 1 additions and 10 deletions

View file

@ -1,9 +0,0 @@
# Read about fixtures at http://api.rubyonrails.org/classes/Fixtures.html
one:
name: MyString
post:
two:
name: MyString
post:

View file

@ -1338,7 +1338,7 @@ So first, we'll wire up the Post show template
<% end %>
<%= link_to 'Edit Post', edit_post_path(@post) %> |
<%= link_to 'Back to Posts', posts_path %> |
<%= link_to 'Back to Posts', posts_path %>
</erb>
This adds a form on the +Post+ show page that creates a new comment by