Permalink
Browse files

Merge pull request #451 from grzm/bootstrap-to-http

Fix aliasing for http in service template.
  • Loading branch information...
ohpauleez committed Jul 27, 2016
2 parents 60621ba + faf83cd commit 05d1b06a00dbc1d3a03cbcade9c87afbb6e6a139
Showing with 2 additions and 2 deletions.
  1. +2 −2 service-template/src/leiningen/new/pedestal_service/service.clj
@@ -24,14 +24,14 @@
["/about" :get (conj common-interceptors `about-page)]})
;; Map-based routes
;(def routes `{"/" {:interceptors [(body-params/body-params) bootstrap/html-body]
;(def routes `{"/" {:interceptors [(body-params/body-params) http/html-body]
; :get home-page
; "/about" {:get about-page}}})
;; Terse/Vector-based routes
;(def routes
; `[[["/" {:get home-page}
; ^:interceptors [(body-params/body-params) bootstrap/html-body]
; ^:interceptors [(body-params/body-params) http/html-body]
; ["/about" {:get about-page}]]]])

0 comments on commit 05d1b06

Please sign in to comment.