Skip to content

Commit

Permalink
Fix plugin route not found error log entry
Browse files Browse the repository at this point in the history
  • Loading branch information
Timot Tarjani committed Oct 31, 2023
1 parent a377940 commit 95217eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Http/Middleware/NavbarPluginMiddleware.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public function handle($request, Closure $next)
$item['url'] = isset($item['url']) ? $item['url'] :

rescue(function () use ($plugin) {
return route(namespace_to_slug($plugin->root_dir) . ".index");
return route('plugin.'.str_slug($plugin->root_dir) . ".start.index");
}, function () use ($plugin) {
return plugin_link(namespace_to_slug($plugin->root_dir));
});
Expand Down

0 comments on commit 95217eb

Please sign in to comment.