From 79e5e79b0d3f6104afd3a3a1065f248f36e44e0f Mon Sep 17 00:00:00 2001 From: eparreno Date: Wed, 12 May 2010 23:15:07 +0200 Subject: [PATCH] fix wrong action name [#134] --- railties/guides/source/caching_with_rails.textile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/railties/guides/source/caching_with_rails.textile b/railties/guides/source/caching_with_rails.textile index e27c2a6dc666b..6dee4b9c61464 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