From 1a8226977f515331d4bddc346a4f0c4583f67e6c Mon Sep 17 00:00:00 2001 From: James Miller Date: Fri, 6 Feb 2009 07:59:02 -0800 Subject: Fix spelling errors in caching guide --- railties/guides/source/caching_with_rails.textile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'railties/guides') diff --git a/railties/guides/source/caching_with_rails.textile b/railties/guides/source/caching_with_rails.textile index 940466ecb3..f4fb8ec348 100644 --- a/railties/guides/source/caching_with_rails.textile +++ b/railties/guides/source/caching_with_rails.textile @@ -55,13 +55,13 @@ want to put other static html in /public, but changing this will require web server reconfiguration to let the web server know where to serve the cached files from. -The Page Caching mechanism will automatically add a +.html+ exxtension to +The Page Caching mechanism will automatically add a +.html+ extension to requests for pages that do not have an extension to make it easy for the webserver to find those pages and this can be configured by changing the configuration setting +config.action_controller.page_cache_extension+. In order to expire this page when a new product is added we could extend our -example controler like this: +example controller like this: class ProductsController < ActionController -- cgit v1.2.3