Hi,
  Could you try (str uri_path "/")

在 2013年7月26日星期五UTC+8上午9时08分50秒,Reginald Choudari写道:
>
> Hello, I'm trying to figure out what is the best way in handling this 
> problem.
>
> Using Ring I have a handlers set to direct routes with relative URI paths 
> (e.g. "/", "./posts", "/about"). But I would like the URI to be 
> automatically redirected to "/posts/" and "/about/" with the trailing 
> slash, so that all my links and references work correctly. If the URI is 
> without the trailing slash, I'm sure you know what happens to all your 
> relative paths.
>
> Any efficient way of dealing with this?
>
> Thanks,
> Reginald
>
>
>

-- 
-- 
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/groups/opt_out.


Reply via email to