Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
13 lines (11 sloc) 0.404 kb
(ns foreclojure.datatable
(:require [cheshire.core :as json])
(:use [foreclojure.ring :only [wrap-json wrap-debug]]
[foreclojure.users :only [user-datatable-query]]
[compojure.core :only [routes GET]]))
(def datatable-routes
(-> (routes
(GET "/datatable/users" [& more]
{:body (user-datatable-query more)
:status 200}))
(wrap-json)))
Jump to Line
Something went wrong with that request. Please try again.