aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/base/verification.rb
diff options
context:
space:
mode:
authorYehuda Katz + Carl Lerche <ykatz+clerche@engineyard.com>2009-06-17 16:14:05 -0700
committerYehuda Katz + Carl Lerche <ykatz+clerche@engineyard.com>2009-06-17 16:14:05 -0700
commit8fdf3d7890d2e58508e028c93d3797f21a774dbc (patch)
tree4eff185e19bd63161ad15fb47120f53e93debcf5 /actionpack/lib/action_controller/base/verification.rb
parent251a6e492c72d8aea713b7dabd245d68301e455d (diff)
downloadrails-8fdf3d7890d2e58508e028c93d3797f21a774dbc.tar.gz
rails-8fdf3d7890d2e58508e028c93d3797f21a774dbc.tar.bz2
rails-8fdf3d7890d2e58508e028c93d3797f21a774dbc.zip
Remove some defined?(Http) checks
Diffstat (limited to 'actionpack/lib/action_controller/base/verification.rb')
-rw-r--r--actionpack/lib/action_controller/base/verification.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/actionpack/lib/action_controller/base/verification.rb b/actionpack/lib/action_controller/base/verification.rb
index d87b348ed4..7190b6b106 100644
--- a/actionpack/lib/action_controller/base/verification.rb
+++ b/actionpack/lib/action_controller/base/verification.rb
@@ -3,9 +3,7 @@ module ActionController #:nodoc:
extend ActiveSupport::Concern
# TODO : Remove the defined? check when new base is the main base
- if defined?(ActionController::Http)
- include AbstractController::Callbacks, Session, Flash, Renderer
- end
+ include AbstractController::Callbacks, Session, Flash, Renderer
# This module provides a class-level method for specifying that certain
# actions are guarded against being called without certain prerequisites