bugfix: use heroku-db in non-dev-mode!

This commit is contained in:
Christian Mueller
2012-06-13 20:24:32 +02:00
parent 5963de4739
commit 6e8a27f50f
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -6,7 +6,7 @@
; Initialize the data base
(def db
(redis/init
(when (dev-mode?)
(when-not (dev-mode?)
{:url (get-setting :db-url)})))
; DB hierarchy levels