Fixed redirect problem when loggin in via /.
This commit is contained in:
+2
-2
@@ -11,7 +11,7 @@
|
||||
|
|
||||
*/
|
||||
|
||||
Route::redirect('/', '/home');
|
||||
Route::redirect('/', '/bookings');
|
||||
|
||||
Route::middleware(['auth'])->group(function() {
|
||||
/**************************************************************************
|
||||
@@ -31,7 +31,7 @@ Route::middleware(['auth'])->group(function() {
|
||||
/**************************************************************************
|
||||
* BOOKINGS *
|
||||
**************************************************************************/
|
||||
Route::get('/bookings', function() { return redirect('bookings/year-' . date('Y')); });
|
||||
Route::redirect('/bookings', 'bookings/year-' . date('Y'));
|
||||
Route::get('/bookings/year-{year}', 'BookingsController@index');
|
||||
Route::post('/bookings', 'BookingsController@store');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user