diff --git a/routes/web.php b/routes/web.php index f063a55..5df9f98 100644 --- a/routes/web.php +++ b/routes/web.php @@ -15,7 +15,7 @@ Route::get('/', function () { return view('welcome'); }); -Route::get('/product', 'ProductController@index')->middleware('auth'); +Route::get('/product', 'ProductController@index')->middleware('verified'); Route::get('/product/{product}', 'ProductController@show')->middleware('verified'); Route::post('/product', 'ProductController@store')->middleware('verified'); Route::patch('/product', 'ProductController@patch')->middleware('verified'); @@ -41,4 +41,4 @@ Auth::routes(['verify' => true]); Route::get('/home', 'HomeController@index')->name('home')->middleware('auth'); Route::get('/help', function () { return view('help'); -}); \ No newline at end of file +});