From b51727aa496127810be66d665cf8c82a78a99b1a Mon Sep 17 00:00:00 2001 From: Rick Olson Date: Fri, 5 Jan 2007 20:46:34 +0000 Subject: Slight doc tweak to #prepend_filter. Closes #6493 [Jeremy Voorhis] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5862 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- actionpack/lib/action_controller/filters.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'actionpack/lib/action_controller/filters.rb') diff --git a/actionpack/lib/action_controller/filters.rb b/actionpack/lib/action_controller/filters.rb index 9f3d1e58d9..3290defff8 100644 --- a/actionpack/lib/action_controller/filters.rb +++ b/actionpack/lib/action_controller/filters.rb @@ -81,10 +81,10 @@ module ActionController #:nodoc: # can use prepend_before_filter and prepend_after_filter. Filters added by these methods will be put at the # beginning of their respective chain and executed before the rest. For example: # - # class ShoppingController + # class ShoppingController < ActionController::Base # before_filter :verify_open_shop # - # class CheckoutController + # class CheckoutController < ShoppingController # prepend_before_filter :ensure_items_in_cart, :ensure_items_in_stock # # The filter chain for the CheckoutController is now :ensure_items_in_cart, :ensure_items_in_stock, -- cgit v1.2.3