Skip to content

Commit

Permalink
Add possible mapping problem in documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
tgalopin committed Sep 22, 2015
1 parent f5838ce commit 2fa24a9
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions Resources/doc/01b-odm-models.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,20 @@ fos_message:
message_class: Acme\MessageBundle\Document\Message
```
You may have to include the MessageBundle in your Doctrine mapping configuration,
along with the bundle containing your custom Thread and Message classes:
```yaml
# app/config/config.yml

doctrine_mongodb:
document_managers:
default:
mappings:
FOSMessageBundle: ~
```
[Continue with the installation][]
Message class
Expand Down

0 comments on commit 2fa24a9

Please sign in to comment.