diff options
author | Xavier Noria <fxn@hashref.com> | 2009-04-27 10:18:37 +0200 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2009-04-27 10:18:37 +0200 |
commit | e5bebbbeffcb8b7912b67a6ebd893342d450a130 (patch) | |
tree | c6071f24fe925a4056f3d74abb8b4eea0d98431c /railties/guides | |
parent | 4d1e21e8cbfa1bca4387714b684fdb4daddb673a (diff) | |
download | rails-e5bebbbeffcb8b7912b67a6ebd893342d450a130.tar.gz rails-e5bebbbeffcb8b7912b67a6ebd893342d450a130.tar.bz2 rails-e5bebbbeffcb8b7912b67a6ebd893342d450a130.zip |
bring index actions back in caching guide, REST conventions are encouraged and surrounding text assumes index
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 |