🔧 Indique de meilleurs routes
This commit is contained in:
parent
0b50e75fa2
commit
db4705d57c
@ -25,7 +25,7 @@ class LoginController extends Controller
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
protected $redirectTo = '/home';
|
||||
protected $redirectTo = 'deals.list';
|
||||
|
||||
/**
|
||||
* Create a new controller instance.
|
||||
|
@ -11,12 +11,13 @@
|
||||
|
|
||||
*/
|
||||
|
||||
Route::redirect('/', 'home');
|
||||
Route::get('/', 'HomeController@index');
|
||||
|
||||
Auth::routes();
|
||||
|
||||
Route::redirect('/', 'deals.list');
|
||||
Route::get('/', 'HomeController@index')->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/view/{type}/{id}', 'HomeController@view')->name('deals.view');
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user