Skip to content

Commit

Permalink
Fixed loading ActionDispatch::Session issue with Rails 3
Browse files Browse the repository at this point in the history
  • Loading branch information
Luca Guidi committed Jul 17, 2010
1 parent 8c37f48 commit f8130d6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/redis-store.rb
Expand Up @@ -33,6 +33,11 @@ module Merb; module Cache; class AbstractStore; end end end
end
end

# ActionDispatch::Session
if defined?(Rails) && ::RedisStore.rails3?
require "action_controller/session/redis_session_store"
end

# Rack::Cache
if defined?(Rack::Cache)
require "rack/cache/key"
Expand Down

0 comments on commit f8130d6

Please sign in to comment.