cakephp change default action for controller (i.e. from “index”) -


i have controllers want default table , not index, present better in different format index pages use. how can change this?

got it. others:

the file /app/config/routes.php contains routing configuration, , default action can changed there

router::connect(    '/pages',    array('controller' => 'pages', 'action' => 'display') ); 

Comments

Popular posts from this blog

rest - Spring boot: Request method 'PUT' not supported -

php - Magento - Deleted Base url key -

symfony - imagine_filter() not generating the correct url in LiipImagineBundle -