forgot this
This commit is contained in:
parent
d48ec5183f
commit
0bb903a746
|
@ -105,3 +105,8 @@
|
||||||
(merge
|
(merge
|
||||||
(if body {:body body})
|
(if body {:body body})
|
||||||
params)))
|
params)))
|
||||||
|
|
||||||
|
(defn second-last [coll]
|
||||||
|
(if (and (seq coll)
|
||||||
|
(> (count coll) 1))
|
||||||
|
(nth coll (- (count coll) 2))))
|
||||||
|
|
Reference in a new issue