Skip to content

Commit

Permalink
Remove onEmptyResponse() method from middleware stub
Browse files Browse the repository at this point in the history
  • Loading branch information
reinink committed May 10, 2022
1 parent b0687d2 commit ea8f8a5
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions stubs/middleware.stub
Original file line number Diff line number Diff line change
Expand Up @@ -40,17 +40,4 @@ class {{ class }} extends Middleware
//
]);
}

/**
* Determines what to do when an Inertia action returned with no response.
* By default, we'll redirect the user back to where they came from.
*
* @param Request $request
* @param Response $response
* @return Response
*/
public function onEmptyResponse(Request $request, Response $response): Response
{
return parent::onEmptyResponse($request, $response);
}
}

0 comments on commit ea8f8a5

Please sign in to comment.