Skip to content

Commit

Permalink
Updated url
Browse files Browse the repository at this point in the history
  • Loading branch information
eluhr authored May 10, 2023
1 parent 985c794 commit 994eb05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/crud/publication-item/view.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@

<?php echo !empty($this->context->module->previewItemRole) && Yii::$app->getUser()->can($this->context->module->previewItemRole) ? Html::a(
FA::icon(FA::_EYE) . ' ' . Yii::t('publication', 'View in frontend'),
['default/index', 'itemId' => $model->id],
['default/detail', 'itemId' => $model->id],
['class' => 'btn btn-warning']) : ''; ?>
</div>

Expand Down

0 comments on commit 994eb05

Please sign in to comment.