-
Notifications
You must be signed in to change notification settings - Fork 156
Conversation
dantleech
commented
Sep 1, 2014
Q | A |
---|---|
Doc fix? | yes |
New docs? | no |
Applies to | all (or 2.3+) |
Fixed tickets | #559 |
@@ -108,7 +108,7 @@ object and all the ``Posts`` to the view:: | |||
*/ | |||
public function pageAction($contentDocument) | |||
{ | |||
$dm = $this->get('doctrine_phpcr')->getManagerForClass('AcmeBasicCmsBundle:Post'); | |||
$dm = $this->get('doctrine_phpcr')->getManager(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is just surplass to requirements..
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you mean it makes things needlessly complex?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah
I guess this could have all gone to 1.1, aka master, as well? |
|
||
.. code-block:: yaml | ||
|
||
Acme\BasicCmsBundle\Document\Site: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is not the full config example, is it? It confused me :)
You also need XML and PHP
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah I know :) I was in a hurry this morning and just wanted to get this up.
FYI #564 |
ping @dantleech |
b214074
to
37852df
Compare
Updated. |
37852df
to
51118cb
Compare
Thanks @dantleech. |