InterviewSolution
Saved Bookmarks
| 1. |
What are named routes? |
|
Answer» A named route is a route definition with the name assigned to it. We can then use that name to CALL the route anywhere ELSE in the application. Route::get('/hello', 'HomeController@INDEX')->name('index');This can be accessed in a controller using the following: return redirect()->route('index');
|
|