summaryrefslogtreecommitdiff
path: root/config/initializers
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2015-04-15 03:13:53 -0700
committerelijah <elijah@riseup.net>2015-04-15 03:13:53 -0700
commitae40e577458fbe4bbde73ada24f670b8e94bdc82 (patch)
treeeebca119f303546cf3d2f44b2b29fa5252655947 /config/initializers
parente6faba1b8f37b9949baf12bc10d1b3fb0e163fe9 (diff)
fix bug that prevented couchrest_session_store from being used.0.7.0version/0.7
Diffstat (limited to 'config/initializers')
-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