From ae40e577458fbe4bbde73ada24f670b8e94bdc82 Mon Sep 17 00:00:00 2001 From: elijah Date: Wed, 15 Apr 2015 03:13:53 -0700 Subject: fix bug that prevented couchrest_session_store from being used. --- config/initializers/session_store.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config/initializers') diff --git a/config/initializers/session_store.rb b/config/initializers/session_store.rb index e8d8b64..ed4c8de 100644 --- a/config/initializers/session_store.rb +++ b/config/initializers/session_store.rb @@ -1,6 +1,6 @@ # Be sure to restart your server when you modify this file. -unless ARGV.grep(/assets:precompile/) +unless ARGV.grep(/assets:precompile/).any? LeapWeb::Application.config.session_store CouchRest::Session::Store, expire_after: 1800 -- cgit v1.2.3