name('home'); Route::get('/deals/list/{type}', 'HomeController@list')->name('deals.list'); Route::get('/deals/view/{type}/{id}', 'HomeController@view')->name('deals.view'); Route::get('/deals/delete/{type}/{id}', 'HomeController@delete')->name('deals.delete'); Route::get('/deals/update/{type}/{id}', 'HomeController@update')->name('deals.update'); Route::post('/deals/update/{type}/{id}', 'HomeController@update')->name('deals.update.post');