Skip to content

Commit

Permalink
Fix caching guide (plural model name) [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
francocatena committed Aug 11, 2012
1 parent e463351 commit 4c711f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions guides/source/caching_with_rails.textile
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class ProductsController < ActionController
caches_page :index

def index
@products = Products.all
@products = Product.all
end
end
</ruby>
Expand All @@ -52,7 +52,7 @@ class ProductsController < ActionController
caches_page :index

def index
@products = Products.all
@products = Product.all
end

def create
Expand Down

0 comments on commit 4c711f1

Please sign in to comment.