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

java - WrongTypeOfReturnValue exception thrown when unit testing using mockito -

php - Magento - Deleted Base url key -

android - How to disable Button if EditText is empty ? -