Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
riasvdv committed Nov 27, 2021
2 parents da0509a + 7f958c9 commit 7ac6e07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Http/Middleware/HandleNotFound.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public function handle(Request $request, Closure $next)
/** @var \Illuminate\Http\Response $response */
$response = $next($request);

if ($response->status() !== 404 || !config('statamic.redirect.enable', true)) {
if ($response->status() !== 404 || ! config('statamic.redirect.enable', true)) {
return $response;
}

Expand Down

0 comments on commit 7ac6e07

Please sign in to comment.