Created
August 3, 2014 00:06
-
-
Save felipesr/24ab4f01c4f934f7ac33 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Router::connect('/hartigozz/lizztar/:page', array('controller' => 'artigos', 'action' => 'listar'), // o problema é que os links na paginacao nao acompanham essa regra!!! | |
/*Router::connect('/artigos/listar/:page', array('controller' => 'artigos', 'action' => 'listar'),*/ | |
array( | |
'pass' => array('page'), // Passa "page" pra action | |
'page'=>'[0-9]+' | |
)); | |
Router::connect('/artigos_lista', array('controller' => 'artigos', 'action' => 'listar')); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment