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
Explain how to do subdomain routing in laravel?
Explain laravel’s service container?
What is database migration in laravel? How to use this?
Explain how to install valet?
What is open source software?
How to generate a controller with resources in laravel?
Explain how to do 301 redirects in laravel?
How to write php code in laravel blade?
How can I learn laravel fast?
What is reverse path multicasting?
Please write some additional where clauses in laravel?
What do you mean by laravel mix?
Explain web.php route.
What are pros and cons of using laravel framework?
What does csrf token in laravel 5?