From 79e5e79b0d3f6104afd3a3a1065f248f36e44e0f Mon Sep 17 00:00:00 2001
From: eparreno <emili@eparreno.com>
Date: Wed, 12 May 2010 23:15:07 +0200
Subject: fix wrong action name [#134]

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

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

diff --git a/railties/guides/source/caching_with_rails.textile b/railties/guides/source/caching_with_rails.textile
index e27c2a6dc6..6dee4b9c61 100644
--- a/railties/guides/source/caching_with_rails.textile
+++ b/railties/guides/source/caching_with_rails.textile
@@ -57,7 +57,7 @@ class ProductsController < ActionController
   end
 
   def create
-    expire_page :action => :list
+    expire_page :action => :index
   end
 
 end
-- 
cgit v1.2.3

