Re: [racket] dispatch-rules

2011-12-08 Thread Jay McCarthy
It can handle them, it's just it means that you want 'dashboard' to be called when the user visits "invoice%2Fdashboard" If you want it to be called when the user visits "invoice/dashboard", then you'd do ("invoice" "dashboard") The list in dispatch-rules corresponds to elements of the URL path.

[racket] dispatch-rules

2011-12-08 Thread Jordan Schatz
The docs don't seem to specify, and I can't get it to work, so am I correct that dispatch-rules cant handle url patterns that contain slashes? ;;Doesn't work (define-values (static-dispatch static-url) (dispatch-rules ;;None of these functions take any arguments [("invoice/dashboard") dashb