diff options
Diffstat (limited to 'actionpack/lib/action_controller/macros')
-rw-r--r-- | actionpack/lib/action_controller/macros/auto_complete.rb | 3 | ||||
-rw-r--r-- | actionpack/lib/action_controller/macros/in_place_editing.rb | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/actionpack/lib/action_controller/macros/auto_complete.rb b/actionpack/lib/action_controller/macros/auto_complete.rb index 917f151e03..c320ae79e1 100644 --- a/actionpack/lib/action_controller/macros/auto_complete.rb +++ b/actionpack/lib/action_controller/macros/auto_complete.rb @@ -4,8 +4,7 @@ module ActionController # backing. module Macros module AutoComplete #:nodoc: - def self.append_features(base) #:nodoc: - super + def self.included(base) #:nodoc: base.extend(ClassMethods) end diff --git a/actionpack/lib/action_controller/macros/in_place_editing.rb b/actionpack/lib/action_controller/macros/in_place_editing.rb index 30e94c51a9..40b083e3fc 100644 --- a/actionpack/lib/action_controller/macros/in_place_editing.rb +++ b/actionpack/lib/action_controller/macros/in_place_editing.rb @@ -1,8 +1,7 @@ module ActionController module Macros module InPlaceEditing #:nodoc: - def self.append_features(base) #:nodoc: - super + def self.included(base) #:nodoc: base.extend(ClassMethods) end |