parent
88213b8d5d
commit
ee21f5f7c1
@ -1,9 +1,7 @@
|
||||
(ns wanijo.home.routes
|
||||
(:require [compojure.core :refer [defroutes GET]]
|
||||
[wanijo.framework.routing :refer [register]]
|
||||
[wanijo.framework.routing :refer [register!]]
|
||||
[wanijo.home.view :as home-view]))
|
||||
|
||||
(register :home "/")
|
||||
|
||||
(defroutes routes
|
||||
(GET "/" [] home-view/root!))
|
||||
(GET (register! :home "/") [] home-view/root!))
|
||||
|
Loading…
Reference in new issue