[hunchentoot-devel] Custom default page
Erick Lopez Carreon
erick at fsl.org.mx
Sat Jun 23 02:56:22 UTC 2007
On Fri, 2007-06-22 at 19:01 -0700, Jeff Cunningham wrote:
> >
> Try adding this form to the bottom (after the /showtopic handler)
>
> ("/" main-page)
>
That does the trick! :)
A few moments ago i try something similar:
(mapcar (lambda (args)
(apply #'create-prefix-dispatcher args))
'(("/" main-page)
("/admin" admin-page)
("/showpost" showpost)
("/editpost" editpost)
("/showtopic" show-topic-page)))
(list #'default-dispatcher)))
But then the only page i could see was the one of the main-page handler
8) so now I realize that the order is relevant :) (and i suspect i need
re-read the documentation).
Thank you very much.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <https://mailman.common-lisp.net/pipermail/tbnl-devel/attachments/20070622/0e4f5f16/attachment.sig>
More information about the Tbnl-devel
mailing list