what is route inn laravel code example
Example 1: laravel get route
Route::get('/user', 'UserController@index');
Example 2: laravel route
Route::view('/welcome', 'welcome');
Route::view('/welcome', 'welcome', ['name' => 'Taylor']);
Example 3: laraval routing
Route::redirect('/here', '/there');