Improving welcome page

This commit is contained in:
2018-09-09 00:57:44 -03:00
parent fd3e4a67cf
commit 53758c6d69
2 changed files with 24 additions and 9 deletions

View File

@@ -12,8 +12,7 @@
*/
Route::get('/', function () {
$name = 'Bruno';
return view('welcome', compact('name'));
return view('welcome');
});
Route::get('/product', 'ProductController@index');