I have a lot of defpages that have a long part of the url in common (ex. 
"/client/:clientid/someresource/"). So I made a function to encapsulate the 
beginning of the URL, but the defpage macro expects a string and not a 
function call. Is there an easy way to have the begging of the route be the 
same? I'm sure there is a way to do it with middleware but is there a 
faster way using pre-route or something similar?

-- 
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

Reply via email to