summaryrefslogtreecommitdiff
path: root/src/site.clj
diff options
context:
space:
mode:
authorScott Ostler <scottbot9000@gmail.com>2010-07-10 01:34:12 -0400
committerScott Ostler <scottbot9000@gmail.com>2010-07-10 01:34:12 -0400
commit0c9cbc22f710237166445e8869545ad8152c7039 (patch)
tree085ca1b60cf68ebc2b9b17b6421736b5b8fef219 /src/site.clj
parent1847fd22d50433184eaaeafce9e47874f7c8c36f (diff)
added report viewer
Diffstat (limited to 'src/site.clj')
-rw-r--r--src/site.clj2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/site.clj b/src/site.clj
index c2bc4ef..5294f40 100644
--- a/src/site.clj
+++ b/src/site.clj
@@ -1186,6 +1186,8 @@ order by count desc limit ? offset ?")
(POST "/mute" (mute! session params))
(POST "/cancel-mute" (handle-cancel-mute! session params))
(GET "/profile-test/:t" (profile session "ryder" (params :t)))
+ (GET "/reports" (list-reports-dir session))
+ (GET "/reports/:file" (show-report session (params :file)))
(GET "/cmd/ghettosearch/:searchterm" (json-ghetto-search (undecoded-url-piece (request-url request) 2)))
(GET "/search" (serve-template "search_files" session))