;; routes.clj


(ns beebster-clj.routes
  (:use beebster-clj.core beebster-clj.views compojure.core)
  (:require [compojure.handler :as handler]
            [compojure.route :as route]))

(defroutes app-routes
  (route/resources "/")
  (GET "/" [] (index-page))
  (GET "/search" [] (about-page))
  (GET "/categories" [category] (category-page category))
  (POST "/results" [searchvalue] (result-page searchvalue))
  (GET "/info" [index] (info-page index))
  (ANY "/download" [index mode] (download-page index mode)))


(def app
  (handler/site app-routes))



;; routes.clj


(ns beebster-clj.routes
  (:use beebster-clj.core beebster-clj.views compojure.core)
  (:require [compojure.handler :as handler]
            [compojure.route :as route]))

(defroutes app-routes
  (route/resources "/")
  (GET "/" [] (index-page))
  (GET "/about" [] (about-page))
  (GET "/categories" [category] (category-page category))
  (POST "/results" [searchvalue] (result-page searchvalue))
  (GET "/info" [index] (info-page index))
  (ANY "/download" [index mode] (download-page index mode)))


(def app
  (handler/site app-routes))



Fix empty link in about page.
Fix empty link in about page.

mswift42/beebster-clj