Author: hhubner Date: Thu Feb 14 09:13:32 2008 New Revision: 2495
Modified: branches/trunk-reorg/projects/quickhoney/src/webserver.lisp Log: Fix handler order so that /image-detail template is seen before /image prefix handler
Modified: branches/trunk-reorg/projects/quickhoney/src/webserver.lisp ============================================================================== --- branches/trunk-reorg/projects/quickhoney/src/webserver.lisp (original) +++ branches/trunk-reorg/projects/quickhoney/src/webserver.lisp Thu Feb 14 09:13:32 2008 @@ -33,17 +33,17 @@ ("/admin" admin-handler) ("/" redirect-handler :to "/frontpage") + ("/" template-handler + :destination ,(namestring (merge-pathnames "templates/" *website-directory*)) + :command-packages (("http://quickhoney.com/" . :quickhoney.tags) + ("http://bknr.net/" . :bknr.web))) user images ("/static" directory-handler :destination ,(merge-pathnames #p"static/" *website-directory*)) ("/favicon.ico" file-handler :destination ,(merge-pathnames #p"static/favicon.ico" *website-directory*) - :content-type "application/x-icon") - ("/" template-handler - :destination ,(namestring (merge-pathnames "templates/" *website-directory*)) - :command-packages (("http://quickhoney.com/" . :quickhoney.tags) - ("http://bknr.net/" . :bknr.web)))) + :content-type "application/x-icon")) :admin-navigation '(("user" . "/user/") ("images" . "/edit-images") ("import" . "/import")