Permalink
Browse files

fixing not found errors

  • Loading branch information...
1 parent 4e1f3e9 commit a722465e55ec5f12e8ae36d1d08d355f99a4dfe4 @abedra abedra committed Feb 16, 2010
Showing with 3 additions and 1 deletion.
  1. +1 −0 public/404.html
  2. +2 −1 src/labrepl.clj
View
@@ -0,0 +1 @@
+<h1>Page Not Found</h1>
View
@@ -41,7 +41,8 @@
(layout
(params :name)
(lab/instructions (params :name)))))
- (GET "/*" (or (serve-file (params :*)) :next)))
+ (GET "/*" (or (serve-file (params :*)) :next))
+ (ANY "*" (page-not-found)))
(decorate lab-routes reloading with-logging)

0 comments on commit a722465

Please sign in to comment.