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

Tweak CHANGELOGs [ci skip]

* Remove trailing space
* Add period
* etc
This commit is contained in:
Ryuta Kamizono 2020-12-29 21:11:16 +09:00
parent 6c4306be71
commit 401ce9dd3d
3 changed files with 4 additions and 4 deletions

View file

@ -1,4 +1,4 @@
* Add `with_all_rich_text` method to eager load all rich text associations on a model at once * Add `with_all_rich_text` method to eager load all rich text associations on a model at once.
*Matt Swanson*, *DHH* *Matt Swanson*, *DHH*

View file

@ -1,6 +1,6 @@
* Change `ActionView::Helpers::UrlHelper#button_to` to *always* render a * Change `ActionView::Helpers::UrlHelper#button_to` to *always* render a
`<button>` element, regardless of whether or not the content is passed as `<button>` element, regardless of whether or not the content is passed as
the first argument or as a block the first argument or as a block.
<%= button_to "Delete", post_path(@post), method: :delete %> <%= button_to "Delete", post_path(@post), method: :delete %>
<%# => <form method="/posts/1"><input type="_method" value="delete"><button type="submit">Delete</button></form> <%# => <form method="/posts/1"><input type="_method" value="delete"><button type="submit">Delete</button></form>
@ -10,7 +10,7 @@
<% end %> <% end %>
<%# => <form method="/posts/1"><input type="_method" value="delete"><button type="submit">Delete</button></form> <%# => <form method="/posts/1"><input type="_method" value="delete"><button type="submit">Delete</button></form>
*Sean Doyle, Dusan Orlovic* *Sean Doyle*, *Dusan Orlovic*
* Add `config.action_view.preload_links_header` to allow disabling of * Add `config.action_view.preload_links_header` to allow disabling of
the `Link` header being added by default when using `stylesheet_link_tag` the `Link` header being added by default when using `stylesheet_link_tag`