Answer Posted / sunil kumar
All the application routes are registered within the app/routes.php file.
This file tells Laravel for the URIs it should respond to and the associated controller will give it a particular call.
Example :
<?php
Route::get('/', function ()
{
return view('welcome');
}
);
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is a controller middleware?
How to Assigning Middleware to Route ?
Tell me how can you display html with blade in laravel?
How to set cookies in laravel?
What is route model binding in laravel?
What are redirect responses?
Which class is used to handle exceptions?
What is monolog library?
What are the software’s included in laravel homestead?
What is a Laravel - Authentication ?
Is laravel support caching? Explain
What is Named Routes.
What is trait in laravel?
What are laravel facades?
What is laravel service provider?