Ajoute des vues

This commit is contained in:
2017-11-12 23:36:48 +01:00
parent b80bde6b1d
commit 0b50e75fa2
11 changed files with 235 additions and 7 deletions

View File

@@ -11,14 +11,12 @@
|
*/
Route::get('/', function () {
return view('welcome');
});
Route::redirect('/', 'home');
Auth::routes();
Route::get('/home', 'HomeController@index')->name('home');
Route::redirect('/', 'deals.list');
Auth::routes();
Route::get('/deals/list/{type}', 'HomeController@list')->name('deals.list');
Route::get('/home', 'HomeController@index')->name('home');
Route::get('/deals/view/{type}/{id}', 'HomeController@view')->name('deals.view');