fixed apidoc context for markdown rendering

This commit is contained in:
Carsten Brandt
2014-01-28 16:50:35 +01:00
parent 3f1a0307cc
commit 7924e6d1fb
6 changed files with 9 additions and 5 deletions

View File

@@ -25,7 +25,7 @@ if (empty($see)) {
<h4>See Also</h4>
<ul>
<?php foreach($see as $ref): ?>
<li><?= \yii\apidoc\helpers\Markdown::process($ref, $this->context->context->getType($object->definedBy)) ?></li>
<li><?= \yii\apidoc\helpers\Markdown::process($ref, $object->definedBy) ?></li>
<?php endforeach; ?>
</ul>
</div>