CodeforSouth/fbi-api

Add compojure middlewhere to ignore trailing slashes in routes

Closed this issue · 0 comments

This should be simple. I tried out some recommendations from compojure and stackoverflow and it didnt work. With inspections as an example, the /inspections endpoint works, but /inspections/ yields 404. We could fix this with a middleware (that still allows for /inspections/:id from example of course).