Fixed hardcoded post permalink syntax
This commit is contained in:
parent
8009c16f0c
commit
eebb862332
2 changed files with 2 additions and 2 deletions
|
@ -49,7 +49,7 @@ if ($masstag)
|
|||
<img
|
||||
class="thumb"
|
||||
src="<?= \Chibi\Router::linkTo(['PostController', 'thumbView'], ['name' => $this->context->post->getName()]) ?>"
|
||||
alt="@<?= $this->context->post->getId() ?>"/>
|
||||
alt="<?= TextHelper::reprPost($this->context->post) ?>"/>
|
||||
|
||||
<?php
|
||||
$x =
|
||||
|
|
|
@ -262,7 +262,7 @@ $canEditAnything = count(array_filter($editPostPrivileges)) > 0;
|
|||
<a href="<?= \Chibi\Router::linkTo(
|
||||
['PostController', 'genericView'],
|
||||
['id' => $relatedPost->getId()]) ?>">
|
||||
@<?= $relatedPost->getId() ?>
|
||||
<?= TextHelper::reprPost($relatedPost) ?>
|
||||
</a>
|
||||
</li>
|
||||
<?php endforeach ?>
|
||||
|
|
Loading…
Reference in a new issue