             [ring.middleware.session :refer [wrap-session]]
             [ring.middleware.session.memory :refer [memory-store]]
             [ring.middleware.file-info :refer :all]
-            ;[ring.middleware.file :refer :all]
             [hiccup.bootstrap.middleware :refer [wrap-bootstrap-resources]]
             [hiccup.bootstrap.page :refer :all]
             [clojure.pprint]

  ([defaults]
     (let [system (system defaults)]
       (swap! current-system-for-repl (constantly system))
       (-> (handler/site (make-app-routes system))
           (wrap-session {:store
                          ;; (MyMemoryStore. tmp-sess-atm) ; TODO remove - fro troubleshooting only
                          (memory-store (:session-atom system))})
           (wrap-bootstrap-resources)
           (wrap-file-info)))))


(ns clj-gamification.handler
  (:use compojure.core)
  (:require [compojure.handler :as handler]
            [compojure.route :as route]
            [hiccup.page :refer [html5 include-js]]
