aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2005-04-02 09:14:19 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2005-04-02 09:14:19 +0000
commitc788bcb416f4487f99a9e5dacf9a48623412b034 (patch)
treed03243b9e36f714c73fdf9110d59922e68be58e1 /actionpack/lib
parent3532455404ec8449eee1054e38d1e0db40c63e15 (diff)
downloadrails-c788bcb416f4487f99a9e5dacf9a48623412b034.tar.gz
rails-c788bcb416f4487f99a9e5dacf9a48623412b034.tar.bz2
rails-c788bcb416f4487f99a9e5dacf9a48623412b034.zip
Automatically extend the class which gets a module included with the ClassMethods module if it exists #970 [Lucas Carlson]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1068 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/lib')
-rw-r--r--actionpack/lib/action_controller/scaffolding.rb5
-rw-r--r--actionpack/lib/action_controller/verification.rb5
2 files changed, 0 insertions, 10 deletions
diff --git a/actionpack/lib/action_controller/scaffolding.rb b/actionpack/lib/action_controller/scaffolding.rb
index 4faa23cdf3..ac5b68b4e3 100644
--- a/actionpack/lib/action_controller/scaffolding.rb
+++ b/actionpack/lib/action_controller/scaffolding.rb
@@ -1,10 +1,5 @@
module ActionController
module Scaffolding # :nodoc:
- def self.append_features(base)
- super
- base.extend(ClassMethods)
- end
-
# Scaffolding is a way to quickly put an Active Record class online by providing a series of standardized actions
# for listing, showing, creating, updating, and destroying objects of the class. These standardized actions come
# with both controller logic and default templates that through introspection already know which fields to display
diff --git a/actionpack/lib/action_controller/verification.rb b/actionpack/lib/action_controller/verification.rb
index b0f5236adf..e65610f5ec 100644
--- a/actionpack/lib/action_controller/verification.rb
+++ b/actionpack/lib/action_controller/verification.rb
@@ -27,11 +27,6 @@ module ActionController #:nodoc:
# :redirect_to => :category_url
#
module Verification
- def self.append_features(base) #:nodoc:
- super
- base.extend(ClassMethods)
- end
-
module ClassMethods
# Verify the given actions so that if certain prerequisites are not met,
# the user is redirected to a different action. The +options+ parameter