forgot this

This commit is contained in:
Gered 2014-09-02 13:01:20 -04:00
parent d48ec5183f
commit 0bb903a746

View file

@ -105,3 +105,8 @@
(merge
(if body {:body body})
params)))
(defn second-last [coll]
(if (and (seq coll)
(> (count coll) 1))
(nth coll (- (count coll) 2))))