Skip to content
This repository has been archived by the owner on Dec 4, 2017. It is now read-only.

Commit

Permalink
Adapted a change in FOSUserBundle
Browse files Browse the repository at this point in the history
  • Loading branch information
Thibaut Chatté committed Apr 26, 2015
1 parent 0b43a5d commit 0010081
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/creating_classes_by_hand.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ doctrine:
mappings:
FOSUserBundle:
type: xml
dir: '%kernel.root_dir%/../vendor/friendsofsymfony/user-bundle/Resources/config/doctrine/model'
dir: '%kernel.root_dir%/../vendor/friendsofsymfony/user-bundle/Resources/config/doctrine-mapping'
prefix: FOS\UserBundle\Model
is_bundle: false
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ private static function getMappings()
if (null === $mappings) {
$r = new \ReflectionClass('FOS\UserBundle\FOSUserBundle');
$mappings = array(
realpath(dirname($r->getFilename()).'/Resources/config/doctrine/model') => 'FOS\UserBundle\Model',
realpath(dirname($r->getFilename()).'/Resources/config/doctrine-mapping') => 'FOS\UserBundle\Model',
);
}

Expand Down

0 comments on commit 0010081

Please sign in to comment.