Skip to content

Commit f5c8249

Browse files
committedNov 20, 2024·
bug #6560 Fix the admin generator commands (javiereguiluz)
This PR was merged into the 4.x branch. Discussion ---------- Fix the admin generator commands Fixes #6557. This broke after we moved to the new and modern bundle structure in #6527 Commits ------- 5f06525 Fix the admin generator commands
2 parents 2ab21cf + 5f06525 commit f5c8249

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/Maker/ClassMaker.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public function __construct(KernelInterface $kernel, string $projectDir)
2424
*/
2525
public function make(string $generatedFilePathPattern, string $skeletonName, array $skeletonParameters): string
2626
{
27-
$skeletonPath = sprintf('%s/%s', $this->kernel->locateResource('@EasyAdminBundle/Resources/skeleton'), $skeletonName);
27+
$skeletonPath = sprintf('%s/%s', $this->kernel->locateResource('@EasyAdminBundle/src/Resources/skeleton'), $skeletonName);
2828
$generatedFileRelativeDir = u($generatedFilePathPattern)->beforeLast('/')->trimEnd('/')->toString();
2929
$generatedFileNamePattern = u($generatedFilePathPattern)->afterLast('/')->trimStart('/');
3030

0 commit comments

Comments
 (0)
Please sign in to comment.