aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/base
diff options
context:
space:
mode:
authorPratik Naik <pratiknaik@gmail.com>2009-05-21 03:04:17 +0200
committerPratik Naik <pratiknaik@gmail.com>2009-05-21 03:04:17 +0200
commit5a036457620b7fb22027dc4f0c399871db6ed0c3 (patch)
tree240470960e6e1e408f5f2c765e30402fe07fcc4c /actionpack/lib/action_controller/base
parente21d1614bb9006e69bf4bb2467b823aa12e64485 (diff)
downloadrails-5a036457620b7fb22027dc4f0c399871db6ed0c3.tar.gz
rails-5a036457620b7fb22027dc4f0c399871db6ed0c3.tar.bz2
rails-5a036457620b7fb22027dc4f0c399871db6ed0c3.zip
Allow Module#depends_on to accept multiple modules
Diffstat (limited to 'actionpack/lib/action_controller/base')
-rw-r--r--actionpack/lib/action_controller/base/verification.rb5
1 files changed, 1 insertions, 4 deletions
diff --git a/actionpack/lib/action_controller/base/verification.rb b/actionpack/lib/action_controller/base/verification.rb
index a513e9f40c..3fa5a105b1 100644
--- a/actionpack/lib/action_controller/base/verification.rb
+++ b/actionpack/lib/action_controller/base/verification.rb
@@ -4,10 +4,7 @@ module ActionController #:nodoc:
# TODO : Remove the defined? check when new base is the main base
if defined?(ActionController::Http)
- depends_on AbstractController::Callbacks
- depends_on Session
- depends_on Flash
- depends_on Renderer
+ depends_on AbstractController::Callbacks, Session, Flash, Renderer
end
# This module provides a class-level method for specifying that certain