Basically in default.ctp I have this for my title:
<title> <?= $this->fetch('title') ?> </title>
And inside of the controller I have this line:
But it does nothing, it still displays controllers name(Jobs, controllers full name os JobsController.ctp)
But if I put this inside of my view file:
It changes the title. So what is wrong with $this->set('title', $title) ?