diff options
author | Pratik Naik <pratiknaik@gmail.com> | 2009-05-21 03:04:17 +0200 |
---|---|---|
committer | Pratik Naik <pratiknaik@gmail.com> | 2009-05-21 03:04:17 +0200 |
commit | 5a036457620b7fb22027dc4f0c399871db6ed0c3 (patch) | |
tree | 240470960e6e1e408f5f2c765e30402fe07fcc4c /actionpack/lib | |
parent | e21d1614bb9006e69bf4bb2467b823aa12e64485 (diff) | |
download | rails-5a036457620b7fb22027dc4f0c399871db6ed0c3.tar.gz rails-5a036457620b7fb22027dc4f0c399871db6ed0c3.tar.bz2 rails-5a036457620b7fb22027dc4f0c399871db6ed0c3.zip |
Allow Module#depends_on to accept multiple modules
Diffstat (limited to 'actionpack/lib')
-rw-r--r-- | actionpack/lib/action_controller/base/verification.rb | 5 |
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 |