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

Commit

Permalink
Added an h1 tag
Browse files Browse the repository at this point in the history
Added the name of the controller to the template
  • Loading branch information
davidyell committed Sep 16, 2015
1 parent 1293566 commit c1aef51
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Template/Bake/Template/index.ctp
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ $fields = collection($fields)
})
->take(7);
%>
<h1><?= $this->request->controller?></h1>

<div class="buttons">
<?= $this->Html->link('New', ['action' => 'add'], ['class' => 'btn btn-primary']);?>
</div>
Expand Down

0 comments on commit c1aef51

Please sign in to comment.