Skip to content

Commit

Permalink
Bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
royduin committed Jun 23, 2021
1 parent 8fe6702 commit f6ea1bb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Http/Controllers/UrlRewriteController.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@ public function __invoke(Request $request)
}

foreach (Eventy::filter('routes', []) as $route) {
if ($output = require $route) {
ob_start();
require $route;
if ($output = ob_get_clean()) {
return $output;
}
}
Expand Down

0 comments on commit f6ea1bb

Please sign in to comment.