From e5bebbbeffcb8b7912b67a6ebd893342d450a130 Mon Sep 17 00:00:00 2001 From: Xavier Noria Date: Mon, 27 Apr 2009 10:18:37 +0200 Subject: bring index actions back in caching guide, REST conventions are encouraged and surrounding text assumes index --- railties/guides/source/caching_with_rails.textile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'railties') diff --git a/railties/guides/source/caching_with_rails.textile b/railties/guides/source/caching_with_rails.textile index 3df65018e8..3b0c43d6ee 100644 --- a/railties/guides/source/caching_with_rails.textile +++ b/railties/guides/source/caching_with_rails.textile @@ -44,9 +44,9 @@ the products class ProductsController < ActionController - caches_page :list + caches_page :index - def list + def index @products = Products.all end @@ -76,9 +76,9 @@ example controller like this: class ProductsController < ActionController - caches_page :list + caches_page :index - def list + def index @products = Products.all end -- cgit v1.2.3