summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordumpfmprod <dumpfmprod@ubuntu.(none)>2010-08-13 15:35:08 -0400
committerdumpfmprod <dumpfmprod@ubuntu.(none)>2010-08-13 15:35:08 -0400
commit8d0ab05f444169e7f73cc0501201b9559b315a07 (patch)
tree3a4dda9cadbd8767adadcd5a2f51b904a0674d05 /src
parentdb3d22ba1c1731e873a5a9296aad94071cdd163b (diff)
timb commiting prod changes (dis register, home redir)
Diffstat (limited to 'src')
-rw-r--r--src/site.clj6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/site.clj b/src/site.clj
index 4cde45d..e27a485 100644
--- a/src/site.clj
+++ b/src/site.clj
@@ -248,9 +248,7 @@
;; Landing
(defn landing [session]
- (if (session :nick)
- (redirect-to "/chat")
- (serve-file "static" "index.html")))
+ (redirect-to "/chat"))
(defn log-login [user_id ip]
;; i'm using do-cmds here because update-values can't deal with stuff like 'last_login = now()'
@@ -1161,7 +1159,7 @@ order by count desc limit ? offset ?")
(GET "/login" (login session params cookies request))
(GET "/logout" (logout session))
(GET "/register" (serve-static "static" "register.html"))
- (GET "/dis-register" (serve-static "static" "registerdis.html"))
+ (GET "/registerdis" (serve-static "static" "registerdis.html"))
(GET "/browser" (browser session))
(GET "/refresh" (validated-refresh session params))
(GET "/tag/:tag" (tagged-dumps session params (request-url request)))