use a more descriptive arg name

This commit is contained in:
Gered 2014-09-04 15:27:33 -04:00
parent 7b240580ea
commit 152f72a2bb

View file

@ -199,8 +199,8 @@
keywordize? arg is true, then returned resource type names will be turned into a
\"kebab case\" keyword (as opposed to a camelcase string which is the default). if
the URL cannot be parsed, returns nil"
[resource-url & [keywordize?]]
(let [parts (-> (strip-query-params resource-url)
[relative-url & [keywordize?]]
(let [parts (-> (strip-query-params relative-url)
(str/split #"/"))]
(cond
(= 2 (count parts))