]> git.openstreetmap.org Git - rails.git/blobdiff - config/initializers/session_store.rb
Create a more accurate permissions check message
[rails.git] / config / initializers / session_store.rb
index 0f9e899704b0223960085e20457233394edd4849..a9c735d6255d40e20cdc2e6eaa5fc206850e6fa0 100644 (file)
@@ -3,5 +3,5 @@
 if defined?(MEMCACHE_SERVERS)
   Rails.application.config.session_store :mem_cache_store, :memcache_server => MEMCACHE_SERVERS, :namespace => "rails:session", :key => "_osm_session"
 else
-  Rails.application.config.session_store :cache_store, :key => "_osm_session"
+  Rails.application.config.session_store :cache_store, :key => "_osm_session", :cache => ActiveSupport::Cache::MemoryStore.new
 end