Did you know? If your route or controller method needs to return a view. You can use Route::view('uri', 'view.name')
instead of defining a full route and controller method for returning a simple view. This is particularly useful for static pages like the about, contact, faq pages.
Laravel Route::view tip

Subscribe to Code Bytes
Get the latest posts delivered right to your inbox