Permalink
Browse files

Mount the pedestal app in Immutant [IMMUTANT-253]

Currently, only mounting at the root context is supported.
  • Loading branch information...
1 parent 628c62d commit 2134f46abf3041854289ca59f422fa6d400ad6a2 @jcrossley3 jcrossley3 committed Mar 25, 2013
Showing with 6 additions and 0 deletions.
  1. +6 −0 integration-tests/apps/pedestal/hello/src/immutant/init.clj
@@ -0,0 +1,6 @@
+(ns immutant.init
+ (:require [immutant.web :as web]
+ [io.pedestal.service.http :as bootstrap]
+ [hello.service :as service]))
+
+(web/start-servlet "/" (::bootstrap/servlet (bootstrap/create-servlet service/service)))

0 comments on commit 2134f46

Please sign in to comment.