Skip to content

View Macro

Carlos Eduardo edited this page Oct 6, 2016 · 1 revision

View Macro

To use:

Route::view('/contact', 'contact');

Return view contact.*

View with data

Route::view('/user', 'user', [
   'name' => 'Test',
]);
Clone this wiki locally