From 61864909628f5ac2f20d3337e0274dab016ac7c5 Mon Sep 17 00:00:00 2001 From: Marcel Molina Date: Sat, 29 Apr 2006 18:10:14 +0000 Subject: Replace Ruby's deprecated append_features in favor of included. [Marcel Molina Jr.] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4310 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- actionpack/lib/action_controller/rescue.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'actionpack/lib/action_controller/rescue.rb') diff --git a/actionpack/lib/action_controller/rescue.rb b/actionpack/lib/action_controller/rescue.rb index d97a294964..9f0cd47092 100644 --- a/actionpack/lib/action_controller/rescue.rb +++ b/actionpack/lib/action_controller/rescue.rb @@ -6,8 +6,7 @@ module ActionController #:nodoc: # # You can tailor the rescuing behavior and appearance by overwriting the following two stub methods. module Rescue - def self.append_features(base) #:nodoc: - super + def self.included(base) #:nodoc: base.extend(ClassMethods) base.class_eval do alias_method :perform_action_without_rescue, :perform_action -- cgit v1.2.3