From d3da2080487391ee5a28f3167c21084107858f52 Mon Sep 17 00:00:00 2001 From: Prathamesh Sonpatki Date: Sat, 23 May 2015 17:47:20 +0530 Subject: Remove div_for from guides [ci skip] Followup of https://github.com/rails/rails/pull/20244. --- guides/source/action_view_overview.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'guides/source/action_view_overview.md') 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 %> +

<%= article.body %>

- <% end %> +
<% end %> ``` -- cgit v1.2.3