diff options
author | Prathamesh Sonpatki <csonpatki@gmail.com> | 2015-05-23 17:47:20 +0530 |
---|---|---|
committer | Prathamesh Sonpatki <csonpatki@gmail.com> | 2015-05-23 17:47:20 +0530 |
commit | d3da2080487391ee5a28f3167c21084107858f52 (patch) | |
tree | 1dc14bfff4912968f81cd47fdf3f26fd5f872c0e | |
parent | 42e66fac38b54dd53d062fb5d3376218ed2ffdae (diff) | |
download | rails-d3da2080487391ee5a28f3167c21084107858f52.tar.gz rails-d3da2080487391ee5a28f3167c21084107858f52.tar.bz2 rails-d3da2080487391ee5a28f3167c21084107858f52.zip |
Remove div_for from guides [ci skip]
Followup of https://github.com/rails/rails/pull/20244.
-rw-r--r-- | guides/source/action_view_overview.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/guides/source/action_view_overview.md b/guides/source/action_view_overview.md index 8a026cecac..950bb5e358 100644 --- a/guides/source/action_view_overview.md +++ b/guides/source/action_view_overview.md @@ -325,9 +325,9 @@ You can also render a block of code within a partial layout instead of calling ` ```html+erb <% render(layout: 'box', locals: { article: @article }) do %> - <%= div_for(article) do %> + <div> <p><%= article.body %></p> - <% end %> + </div> <% end %> ``` |