Skip to content

Commit

Permalink
Fixes #379: Fixed bug in view page where delete button not work well
Browse files Browse the repository at this point in the history
  • Loading branch information
zacksleo authored and samdark committed Sep 11, 2018
1 parent 60c53d3 commit cafe77a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Yii Framework 2 gii extension Change Log
2.0.8 under development
-----------------------

- Bug #379: Fixed bug in view page where delete button not work well (zacksleo)
- Bug #327: Fixed bug in Model generator when $baseClass is an abstract class (rhertogh)
- Enh #366: Option to allow standardized class names capitals in model generator (slinstj)

Expand Down
1 change: 1 addition & 0 deletions src/generators/crud/default/views/view.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
$this->title = $model-><?= $generator->getNameAttribute() ?>;
$this->params['breadcrumbs'][] = ['label' => <?= $generator->generateString(Inflector::pluralize(Inflector::camel2words(StringHelper::basename($generator->modelClass)))) ?>, 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
\yii\web\YiiAsset::register($this);
?>
<div class="<?= Inflector::camel2id(StringHelper::basename($generator->modelClass)) ?>-view">

Expand Down

0 comments on commit cafe77a

Please sign in to comment.