summaryrefslogtreecommitdiff
path: root/src/chef/pages/admin.clj
blob: 3e2b0a115804ca70ed7bd6cb61207dedfa448693 (plain)
1
2
3
4
5
6
7
8
9
10
11
(ns chef.pages.admin
  (:require [chef.utils :as cutils]
            [hiccup2.core :as html]
            [ring.util.response :as ruresp]))

(defn handler [req]
  (cutils/auth-only req
                    (-> (cutils/gen-page "chef - Dashboard" [:i "Coming soon..."])
                        html/html
                        str
                        ruresp/response)))