Skip to content

Commit

Permalink
fix: publish resource/page in provider/menu
Browse files Browse the repository at this point in the history
  • Loading branch information
lee-to committed Dec 8, 2024
1 parent dc2310a commit 210ea6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Laravel/src/Commands/MoonShineCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ private static function addResourceOrPageTo(string $class, string $to, bool $isP

$content = str(file_get_contents($to));

if ($content->contains($class)) {
if ($content->contains('\\'.$class)) {
return;
}

Expand Down

0 comments on commit 210ea6d

Please sign in to comment.