It can handle them, it&#39;s just it means that you want &#39;dashboard&#39; to be called when the user visits &quot;invoice%2Fdashboard&quot;<div><br></div><div>If you want it to be called when the user visits &quot;invoice/dashboard&quot;, then you&#39;d do (&quot;invoice&quot; &quot;dashboard&quot;)</div>
<div><br></div><div>The list in dispatch-rules corresponds to elements of the URL path.</div><div><br></div><div>Jay<br><br><div class="gmail_quote">On Thu, Dec 8, 2011 at 4:03 PM, Jordan Schatz <span dir="ltr">&lt;<a href="mailto:jordan@noionlabs.com">jordan@noionlabs.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">The docs don&#39;t seem to specify, and I can&#39;t get it to work, so am I<br>
correct that dispatch-rules cant handle url patterns that contain<br>
slashes?<br>
<br>
;;Doesn&#39;t work<br>
(define-values (static-dispatch static-url)<br>
  (dispatch-rules<br>
  ;;None of these functions take any arguments<br>
   [(&quot;invoice/dashboard&quot;) dashboard]<br>
   [(&quot;invoice/edit-company&quot;) edit-company]<br>
   [(&quot;invoice/export-customers&quot;) export-customers]<br>
   [(&quot;invoice/import-customers&quot;) import-customers]<br>
   [(&quot;invoice/create-customer&quot;) create-customer]<br>
   [(&quot;invoice/list-customers&quot;) list-customers]<br>
   [(&quot;invoice/export-invoices&quot;) export-invoices]<br>
   [(&quot;invoice/import-invoices&quot;) import-invoices]<br>
   [(&quot;invoice/create-invoice&quot;) create-invoice]<br>
   [(&quot;invoice/list-invoices&quot;) list-invoices]<br>
   [(&quot;invoice/payment-methods&quot;) payment-methods]<br>
   [(&quot;invoice/logout&quot;) logout]))<br>
<br>
-Jordan<br>
_________________________________________________<br>
  For list-related administrative tasks:<br>
  <a href="http://lists.racket-lang.org/listinfo/users" target="_blank">http://lists.racket-lang.org/listinfo/users</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Jay McCarthy &lt;<a href="mailto:jay@cs.byu.edu" target="_blank">jay@cs.byu.edu</a>&gt;<br>Assistant Professor / Brigham Young University<br><a href="http://faculty.cs.byu.edu/~jay" target="_blank">http://faculty.cs.byu.edu/~jay</a><br>
<br>&quot;The glory of God is Intelligence&quot; - D&amp;C 93<br>
</div>