Skip to content

Commit

Permalink
Deprecate ActionController::Base#session_enabled?
Browse files Browse the repository at this point in the history
  • Loading branch information
lifo committed Jan 19, 2009
1 parent 68fdfde commit 9cefd5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion actionpack/lib/action_controller/base.rb
Expand Up @@ -644,7 +644,7 @@ def controller_path
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 = []
Expand Down

0 comments on commit 9cefd5e

Please sign in to comment.