Skip to content

Commit

Permalink
Merge pull request #44 from khalidmaquilang/feature/si-43-fix-login-e…
Browse files Browse the repository at this point in the history
…rror

Feature | fix login error
  • Loading branch information
khalidmaquilang authored Jun 9, 2024
2 parents 1f28c9f + 50b3a8e commit e240b30
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 e240b30

Please sign in to comment.