Skip to content

Commit

Permalink
Fix to Problem with auto mapping and doctrine/orm >= 2.5 #1790
Browse files Browse the repository at this point in the history
  • Loading branch information
nmalo authored and stof committed Apr 15, 2015
1 parent 808672b commit 22aea1c
Show file tree
Hide file tree
Showing 7 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion FOSUserBundle.php
Expand Up @@ -42,7 +42,7 @@ private function addRegisterMappingsPass(ContainerBuilder $container)
$symfonyVersion = class_exists('Symfony\Bridge\Doctrine\DependencyInjection\CompilerPass\RegisterMappingsPass');

$mappings = array(
realpath(__DIR__ . '/Resources/config/doctrine/model') => 'FOS\UserBundle\Model',
realpath(__DIR__ . '/Resources/config/doctrine-mapping') => 'FOS\UserBundle\Model',
);

if ($symfonyVersion && class_exists('Doctrine\Bundle\DoctrineBundle\DependencyInjection\Compiler\DoctrineOrmMappingsPass')) {
Expand Down

0 comments on commit 22aea1c

Please sign in to comment.