1Route::group(['prefix'=>'accounts','as'=>'account.'], function(){
2 Route::get('/', 'AccountController@index')->name('index');
3 Route::get('connect', 'AccountController@connect')->name('connect');
4});
5
6Route::group(['prefix'=>'quotes','as'=>'quote.'], function(){
7 Route::get('/', 'QuoteController@index')->name('index');
8 Route::get('connect', 'QuoteController@create')->name('create');
9});
1Route::group(['prefix' => 'post', 'middleware' => ['auth']], function(){
2 Route::get('all','Controller@post');
3 Route::get('user','Controller@post');
4 })
5
1Route::group(['prefix' => 'admin'], function () {
2 Route::get('users', function () {
3 // Matches The "/admin/users" URL
4 });
5});
1Route::match(['get', 'post'], '/', function () {
2 //
3});
4
5Route::any('/', function () {
6 //
7});
1Route::get('user/profile', [UserProfileController::class, 'show'])->name('profile');