(ns wanijo.home.routes
  (:require [compojure.core :refer [defroutes GET]]
            [wanijo.infrastructure.routing :refer [register!]]
            [wanijo.home.view :as home-view]))

(defroutes routes
  (GET "/index.html" [] home-view/root!)
  (GET (register! :home "/") [] home-view/root!))
