I have a static html page in cakePHP application which I want to link in my route.php file.
$routes->connect('/', ['controller' => 'Pages', 'action' => 'display', 'index']);
It uses the controller file and adds header, footer, css, JS, etc to the index.ctp
but how can I have the page as it is without adding code or using any controller? (like linking to static html page).
Aucun commentaire:
Enregistrer un commentaire