aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/caching_with_rails.md
diff options
context:
space:
mode:
authorFrancesco Rodriguez <lrodriguezsanc@gmail.com>2012-12-07 23:43:46 -0500
committerFrancesco Rodriguez <lrodriguezsanc@gmail.com>2012-12-07 23:43:46 -0500
commitf19e41fb16ea77422e0061fd47139d4d01a44f0c (patch)
treef8972f368545252b0864e261284bdd34c3235c8e /guides/source/caching_with_rails.md
parent69163ccae6a49c89e1a62ac94b98222651dd5aa8 (diff)
downloadrails-f19e41fb16ea77422e0061fd47139d4d01a44f0c.tar.gz
rails-f19e41fb16ea77422e0061fd47139d4d01a44f0c.tar.bz2
rails-f19e41fb16ea77422e0061fd47139d4d01a44f0c.zip
update guides to use _action callbacks [ci skip]
Diffstat (limited to 'guides/source/caching_with_rails.md')
-rw-r--r--guides/source/caching_with_rails.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/caching_with_rails.md b/guides/source/caching_with_rails.md
index e737dcab83..773102400a 100644
--- a/guides/source/caching_with_rails.md
+++ b/guides/source/caching_with_rails.md
@@ -104,7 +104,7 @@ Let's say you only wanted authenticated users to call actions on `ProductsContro
```ruby
class ProductsController < ActionController
- before_filter :authenticate
+ before_action :authenticate
caches_action :index
def index