Skip to content

Commit

Permalink
Merge pull request #2 from abdelmjid-saber/master
Browse files Browse the repository at this point in the history
fix products route
  • Loading branch information
3x1io authored Feb 4, 2024
2 parents 3662f1b + 7a7429d commit 01abc52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion routes/web.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

Route::middleware(['web','auth', 'splade', 'verified'])->name('admin.')->group(function () {
Route::get('admin/invoices', [InvoiceController::class, 'index'])->name('invoices.index');
Route::get('admin/invoices/products', [InvoiceController::class, 'products'])->name('invoices.products');
Route::post('admin/invoices/products', [InvoiceController::class, 'product'])->name('invoices.products');
Route::get('admin/invoices/branches', [InvoiceController::class, 'branches'])->name('invoices.branches');
Route::post('admin/invoices/company', [InvoiceController::class, 'company'])->name('invoices.company');
Route::post('admin/invoices/accounts', [InvoiceController::class, 'accounts'])->name('invoices.accounts');
Expand Down

0 comments on commit 01abc52

Please sign in to comment.