Skip to content
Browse files

Deprecate ActionController::SessionManagement

  • Loading branch information...
1 parent 9c56401 commit 74fe7e1018585ed9ea086952f578079bb7577652 @spastorino spastorino committed
Showing with 5 additions and 0 deletions.
  1. +5 −0 actionpack/lib/action_controller/metal/session_management.rb
View
5 actionpack/lib/action_controller/metal/session_management.rb
@@ -2,6 +2,11 @@ module ActionController #:nodoc:
module SessionManagement #:nodoc:
extend ActiveSupport::Concern
+ included do
+ ActiveSupport::Deprecation.warn "ActionController::SessionManagement " \
+ "is deprecated because it has no contents since Rails 3.1", caller
+ end
+
module ClassMethods
end

0 comments on commit 74fe7e1

Please sign in to comment.
Something went wrong with that request. Please try again.