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
How to configure a mail-in laravel?
How can we use middleware in laravel?
What is laravel framework?
Please explain what are the main differences between laravel 4 and laravel 5.x?
How to retrive all requested data in laravel?
How to use select query in laravel?
What are Global Middleware and Route Middleware ?
What are the applications supported by valet?
What is Laravel - File Uploading ?
What is singleton in laravel?
Explain how to register a service provider via composer in laravel?
How to create & register a service provider in laravel 5?
What is the use of in laravel?
How can you generate urls?
What are events in laravel?