Thanks @fluiddynamics your right on the money. On Monday, 4 May 2015 17:34:26 UTC+2, clifford wrote: > > Hi > > I am using juxt/bidi for route matching. > > with the following routes: > >> (def routes ["/" {"index.html" :index >> "articles/" {"index.html" :article-index >> [:id] :article}}]) > > > It correctly matches at the REPL. > >> (match-route routes "/articles/4") >> => {:handler :article, :route-params {:id "4"}} > > > However in the browser, when I hit the url, localhost:3000/articles/4 > It attempts to download a file with name "4", can anybody let me know what > I'm doing wrong here? > > Clifford >
-- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.