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 the boot method?
How to distroy cookies in laravel?
Tell me what are pros and cons of using laravel framework?
List the steps to configure laravel application.
How to use insert statement in laravel?
What is a service supplier?
How to registering middleware in laravel?
what is Basic Routing ?
Explain how to localize resource uris in laravel?
How can we get data between two dates using query in laravel?
What are route groups?
How to create real time sitemap.xml file in laravel?
What is acl in laravel?
Explain how to generate pretty urls in laravel?
What is api php in laravel?