So the value for :routes in the snippet is okay I presume - is not the cause of the ClassCastException? Perhaps handle-index should be returning a map and isn't (not with the code at the moment).
:routes
handle-index