Compare contoller, commands for search articles from command line

This commit is contained in:
2023-11-27 18:45:38 +01:00
parent eb3ed24204
commit 3e3bcce806
9 changed files with 573 additions and 27 deletions

View File

@@ -3,6 +3,7 @@
use Illuminate\Support\Facades\Route;
use Inertia\Inertia;
use App\Http\Controllers\CountryCodeController;
use App\Http\Controllers\CountryCompareController;
/*
|--------------------------------------------------------------------------
| Web Routes
@@ -20,7 +21,7 @@ Route::get('/', function () {
Route::get('/ccountry/', [CountryCodeController::class, 'index'])->name('ccountry.index');
Route::get('/ccountry/active/', [CountryCodeController::class, 'active'])->name('ccountry.active');
Route::get('/search/{id}',[CountryCompareController::class,'search'])->name('ccompare.search');
Route::middleware(['auth:sanctum', config('jetstream.auth_session'), 'verified'])->group(function () {
// Route::get('/', function () {
// return Inertia::render('Dashboard');