diff options
author | Aditya Chadha <aditya@sublucid.com> | 2009-04-27 22:01:36 -0400 |
---|---|---|
committer | Aditya Chadha <aditya@sublucid.com> | 2009-04-27 22:01:36 -0400 |
commit | 57f031cba2740fd8afc867960220e28a1c333dc5 (patch) | |
tree | 4cfa07346a6e134c9e7331960ba3f91d0d962859 /railties/guides/source/caching_with_rails.textile | |
parent | eeb12d6ad5c24e65f63029f517e23fc5e02a617c (diff) | |
parent | 4df9680a6fe6608e8a82924f52e51a028a8575e5 (diff) | |
download | rails-57f031cba2740fd8afc867960220e28a1c333dc5.tar.gz rails-57f031cba2740fd8afc867960220e28a1c333dc5.tar.bz2 rails-57f031cba2740fd8afc867960220e28a1c333dc5.zip |
Merge branch 'master' of git@github.com:lifo/docrails
Diffstat (limited to 'railties/guides/source/caching_with_rails.textile')
-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 08377f2456..9658927a36 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 |