Skip to content

Commit

Permalink
Merge e134fa1 into 647050b
Browse files Browse the repository at this point in the history
  • Loading branch information
davisvagris committed Sep 19, 2019
2 parents 647050b + e134fa1 commit 269fdf4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Http/Middleware/ArboryRouteRedirectMiddleware.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public function handle($request, Closure $next)
$redirect = $redirect->first(['to_url']);

if ($redirect) {
return Redirect::to($redirect->to_url, $redirect->status);
return redirect($redirect->to_url, $redirect->status);
}

return $next($request);
Expand Down

0 comments on commit 269fdf4

Please sign in to comment.