mirror of
https://github.com/Cybrarist/Discount-Bandit.git
synced 2026-11-24 19:49:54 +01:00
- minimize data sent by plugin - fix the lowest price always zero. - add method to update the price when you visit the product page with the extension. - fix new store not added on existing product - format prices on chart - fix multiple prices not showing in tooltip in price history widget when store is added later on.
17 lines
513 B
PHP
17 lines
513 B
PHP
<?php
|
|
|
|
use Illuminate\Http\Request;
|
|
use Illuminate\Support\Facades\Route;
|
|
|
|
|
|
|
|
|
|
Route::middleware('auth:sanctum')
|
|
->prefix("products")
|
|
->name('products.')
|
|
->group(function (){
|
|
Route::post("get" , \App\Http\Controllers\Actions\GetProductController::class )->name("get");
|
|
Route::post("update" , \App\Http\Controllers\Actions\UpdateProductController::class )->name("update");
|
|
Route::post("create" , \App\Http\Controllers\Actions\CreateProductController::class)->name("create");
|
|
});
|