Created
February 26, 2016 23:20
-
-
Save cakephp-tutorial/e3d1e2140e77059d41e3 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
<?php | |
Router::connect( | |
'/:controller/:id', | |
array('action' => 'view'), | |
array('id' => '[0-9]+') | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment