summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <code@mail.matthias.benkard.de>2012-08-19 15:37:10 +0200
committerMatthias Andreas Benkard <code@mail.matthias.benkard.de>2012-08-19 15:37:10 +0200
commit0fbfe4359681645c3faeea4acd536f7a2ad49c05 (patch)
tree4a635e49638e5cc30116ebba2c5b19ca487947f5
parentff84d1c456845b6cb51dbf370ab2d29ea69109c3 (diff)
main: Fix namespace loading.
-rw-r--r--src/mulk/benki/main.clj4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mulk/benki/main.clj b/src/mulk/benki/main.clj
index 9849a31..47bca8d 100644
--- a/src/mulk/benki/main.clj
+++ b/src/mulk/benki/main.clj
@@ -162,8 +162,10 @@
(defn init! []
(init-config!)
(init-middleware!)
- (noir.server/load-views-ns 'mulk.benki)
(init-security!)
+ ;;(noir.server/load-views-ns 'mulk.benki) ;doesn't work on Immutant
+ (doseq [ns '(mulk.benki.book_marx mulk.benki.lazychat)]
+ (require ns))
(future (run-immutant-swank!))
(future (require 'mulk.benki.xmpp)
((ns-resolve 'mulk.benki.xmpp 'init-xmpp!)))