]> 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 97886ab3e3cf6a639a9c8e337504da417a1e42d0..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