diff --git a/src/views/crud/publication-item/view.php b/src/views/crud/publication-item/view.php index 253825f..f2038f4 100644 --- a/src/views/crud/publication-item/view.php +++ b/src/views/crud/publication-item/view.php @@ -61,7 +61,7 @@ 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']) : ''; ?>