Skip to content

Commit

Permalink
fix login error
Browse files Browse the repository at this point in the history
  • Loading branch information
khalidmaquilang committed Jun 9, 2024
1 parent 1f28c9f commit 50b3a8e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions routes/web.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

use App\Http\Controllers\SaleController;

Route::redirect('/login-redirect', '/login')->name('login');

Route::group(['middleware' => ['auth', \App\Http\Middleware\CompanyControllerGuard::class, 'verified']], function () {
Route::get('{company}/sales/{sale}/invoice', [SaleController::class, 'generateInvoice'])->name('sales.generate-invoice');
});
Expand Down

0 comments on commit 50b3a8e

Please sign in to comment.