summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config/initializers/session_store.rb2
1 files changed, 1 insertions, 1 deletions
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