Skip to content
This repository was archived by the owner on Jan 3, 2024. It is now read-only.

Commit c1aef51

Browse files
committed
Added an h1 tag
Added the name of the controller to the template
1 parent 1293566 commit c1aef51

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Template/Bake/Template/index.ctp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ $fields = collection($fields)
77
})
88
->take(7);
99
%>
10+
<h1><?= $this->request->controller?></h1>
11+
1012
<div class="buttons">
1113
<?= $this->Html->link('New', ['action' => 'add'], ['class' => 'btn btn-primary']);?>
1214
</div>

0 commit comments

Comments
 (0)