From dbdfa1dab54bf2610c46f7b80b496eae8e4ef238 Mon Sep 17 00:00:00 2001 From: "Yann Esposito (Yogsototh)" Date: Wed, 28 Dec 2011 23:03:12 +0100 Subject: [PATCH] Remove deprecated call --- layouts/default.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/layouts/default.html b/layouts/default.html index ac464e20a..187e2ee89 100644 --- a/layouts/default.html +++ b/layouts/default.html @@ -39,20 +39,20 @@ Presentation drawing

- <%= @item[:content_for_title].nil? ? @item[:title] : @item[:content_for_title] %> + <%= content_for(@item, :title).nil? ? @item[:title] : content_for(@item,:title) %>

- <% unless @item[:subtitle].nil? and @item[:content_for_subtitle].nil? %> + <% unless @item[:subtitle].nil? and content_for(@item,:subtitle).nil? %>

- <%= @item[:content_for_subtitle].nil? ? @item[:subtitle] : @item[:content_for_subtitle] %> + <%= content_for(@item,:subtitle).nil? ? @item[:subtitle] : content_for(@item,:subtitle) %>

<% end %>
- <% if @item[:content_for_summary] %> + <% if content_for(@item,:summary) %>
- <% @item[:content_for_summary] %> + <% content_for(@item,:summary) %>
<% end %>