Skip to content

Commit

Permalink
Merge pull request #28 from Moulino/master
Browse files Browse the repository at this point in the history
Fixes the problem with the skeleton directories.
  • Loading branch information
davidwdan committed Sep 24, 2015
2 parents 27c467c + 94394af commit c4a645b
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -244,12 +244,10 @@ protected function getSkeletonDirs(BundleInterface $bundle = null)

$reflClass = new \ReflectionClass(get_class($this));

$skeletonDirs = array();
$skeletonDirs = parent::getSkeletonDirs($bundle);
$skeletonDirs[] = dirname($reflClass->getFileName()) . '/../Resources/skeleton';
$skeletonDirs[] = dirname($reflClass->getFileName()) . '/../Resources';

$skeletonDirs = $skeletonDirs + parent::getSkeletonDirs($bundle);

return $skeletonDirs;
}

Expand Down

0 comments on commit c4a645b

Please sign in to comment.