mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-16 14:15:28 +01:00
upgrade to rails 2.3.12 and fix deprecation warning and fix some version numbers of gems used for testing
This commit is contained in:
parent
a3c5920a2b
commit
ceda51b5bf
34 changed files with 2451 additions and 11266 deletions
|
|
@ -196,6 +196,7 @@ module ActionController
|
|||
|
||||
if (request_cookies.nil? || request_cookies[@key] != sid) || options[:expire_after]
|
||||
cookie = {:value => sid}
|
||||
cookie[:expires] = Time.now + options[:expire_after] if options[:expire_after]
|
||||
Rack::Utils.set_cookie_header!(response[1], @key, cookie.merge(options))
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue