You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
(ns wanijo.home.routes
|
|
(:require [compojure.core :refer [defroutes GET]]
|
|
[wanijo.infra.routing :refer [register!]]
|
|
[wanijo.home.view :as home-view]))
|
|
|
|
(defroutes routes
|
|
(GET "/index.html" [] home-view/root!)
|
|
(GET (register! :home "/") [] home-view/root!))
|