<?php

use Illuminate\Support\Facades\Route;
use Modules\AbaxisLab\Http\Controllers\InstallController;

// Install / Update routes — the Abaxis UI is served by LabCore (/lab).
Route::middleware(['web', 'auth'])->prefix('abaxis')->group(function () {
    Route::get('/install',   [InstallController::class, 'index']);
    Route::post('/install',  [InstallController::class, 'install']);
    Route::get('/uninstall', [InstallController::class, 'uninstall']);
    Route::get('/update',    [InstallController::class, 'update']);
});
