From 0631bf4baf463a0e8ca74c56a21ed0b320d254d0 Mon Sep 17 00:00:00 2001
From: James Miller <bensie@gmail.com>
Date: Thu, 26 Aug 2010 12:27:44 -0700
Subject: Simplify render :partial

---
 railties/guides/source/action_view_overview.textile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'railties/guides/source/action_view_overview.textile')

diff --git a/railties/guides/source/action_view_overview.textile b/railties/guides/source/action_view_overview.textile
index e242cdaf73..459d70f111 100644
--- a/railties/guides/source/action_view_overview.textile
+++ b/railties/guides/source/action_view_overview.textile
@@ -428,7 +428,7 @@ A method for caching fragments of a view rather than an entire action or page. T
 
 <ruby>
 <% cache do %>
-  <%= render :partial => "shared/footer" %>
+  <%= render "shared/footer" %>
 <% end %>
 </ruby>
 
-- 
cgit v1.2.3

