Make sure the request has a route before setting the current route.
Make sure the request has a route before setting the current route.

Signed-off-by: Jason Lewis <b136be6b8ecc2c62ceb9857ec62bf85489a45e0c@gmail.com>

dingo/api,thaonx1990/dingo-api,thaonx/dingo-api,behzadsh/api,rlacerda83/api,thilanga/api,JustinLien/api,laravie/api,lucasmichot/api,teleright/api