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

getting started guide: deletes orphan <% end %>, reported by Michael L. Miller

This commit is contained in:
Xavier Noria 2010-10-12 23:06:55 +02:00
parent 2561c6ae64
commit 879cac5d76

View file

@ -727,7 +727,6 @@ After finding the requested post, Rails uses the +edit.html.erb+ view to display
<%= link_to 'Show', @post %> |
<%= link_to 'Back', posts_path %>
<% end %>
</erb>
Again, as with the +new+ action, the +edit+ action is using the +form+ partial, this time however, the form will do a PUT action to the PostsController and the submit button will display "Update Post"