Skip to content

Commit

Permalink
dir sep
Browse files Browse the repository at this point in the history
  • Loading branch information
bastinald committed Jul 1, 2021
1 parent e549b68 commit 41ce866
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion routes/web.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
$component = $namespace . str_replace(
['/', '.php'],
['\\', ''],
Str::after($component->getRealPath(), realpath(app_path()) . DIRECTORY_SEPARATOR)
Str::after($component->getRealPath(), realpath(app_path()) . '/')
);

if (method_exists($component, 'route')) {
Expand Down

0 comments on commit 41ce866

Please sign in to comment.