Last active
January 27, 2019 18:35
-
-
Save FrankFlow/00775d85b60d701c13381c6eccf5c696 to your computer and use it in GitHub Desktop.
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
| <?php | |
| // access route names as tenant.account.profile.* e.g. tenant.account.profile.edit | |
| // access route path as account/profile/* e.g. account/profile/edit | |
| Route::group(['prefix' => 'profile'], function () { | |
| Route::get('/', 'ProfileController@edit')->name('profile.edit'); // show profile edit form | |
| Route::patch('/', 'ProfileController@update')->name('profile.update'); // edit profile | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment