<?php

use App\Domains\Tenant\Controllers\AdminApp\WebsiteExtraController;
use Illuminate\Support\Facades\Route;

Route::prefix('v1/adminapp/tenant')
    ->middleware(['auth:sanctum', 'adminapp.tenant'])
    ->group(function (): void {
        Route::get('website-extras', [WebsiteExtraController::class, 'show']);
        Route::put('website-extras/{websiteExtraCode}', [WebsiteExtraController::class, 'update']);
        Route::patch('website-extras/{websiteExtraCode}/toggle', [WebsiteExtraController::class, 'toggle']);
    });
