Created
March 31, 2015 15:20
-
-
Save samdark/1af61629cb0f1c4cf588 to your computer and use it in GitHub Desktop.
Routing
This file contains hidden or 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
// Laravel | |
Route::get('user/{id}', 'UserController@showProfile'); | |
// Yii | |
'user/<id>' => 'user/profile', |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment