diff options
Diffstat (limited to 'railties/guides')
-rw-r--r-- | railties/guides/source/caching_with_rails.textile | 8 |
1 files changed, 4 insertions, 4 deletions
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 <ruby> 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: <ruby> class ProductsController < ActionController - caches_page :list + caches_page :index - def list + def index @products = Products.all end |