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:
parent
2561c6ae64
commit
879cac5d76
1 changed files with 0 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue