getContent(); $return_to = $response->getReturnTo(); if (is_null($return_to) || empty($return_to)) { return Response::view('errors.404', [], 404); } $return_to = (strpos($return_to, "?") == false) ? $return_to . "?" . $query_string : $return_to . "&" . $query_string; return Redirect::to($return_to) ->header('Cache-Control', 'no-cache, no-store, max-age=0, must-revalidate') ->header('Pragma','no-cache'); } }