lib/cookieless_sessions.rb in cookieless_sessions-1.0.1 vs lib/cookieless_sessions.rb in cookieless_sessions-1.1.0

- old
+ new

@@ -1,7 +1,6 @@ require "cookieless_sessions/version" -require "cookieless_sessions/rails_32_patch" module CookielessSessions module EnabledController extend ActiveSupport::Concern @@ -20,10 +19,10 @@ def session_key Rails.application.config.session_options[:key] end def session_id - request.session_options[:id] + request.session.id end def session_is_not_cookie_only? Rails.application.config.session_options[:cookie_only] == false end