Improving welcome page

This commit is contained in:
2018-09-09 00:57:44 -03:00
parent e8c6717fe1
commit e57b5e7206
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');