fix application warning if route has no controller defined