Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Route::name('profile')->get('user/{id}/profile', function ($id) {
- // some closure action...
- });
- Route::name('users.index')->middleware('auth')->get('users', function () {
- // some closure action...
- });
- Route::middleware('auth')->prefix('api')->group(function () {
- // register some routes...
- });
- Route::middleware('auth')->resource('photo', 'PhotoController');
Advertisement
Add Comment
Please, Sign In to add comment