mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Deprecate ActionController::Base#session_enabled?
This commit is contained in:
@@ -644,7 +644,7 @@ module ActionController #:nodoc:
|
||||
end
|
||||
|
||||
def session_enabled?
|
||||
request.session_options && request.session_options[:disabled] != false
|
||||
ActiveSupport::Deprecation.warn("Sessions are now lazy loaded. So if you don't access them, consider them disabled.", caller)
|
||||
end
|
||||
|
||||
self.view_paths = []
|
||||
|
||||
Reference in New Issue
Block a user