Files
2026-05-29 04:33:03 -04:00

10 lines
436 B
PHP

<?php
use App\Http\Controllers\Finance\PaymentFileController;
use Illuminate\Support\Facades\Route;
Route::middleware(['auth:api', 'school.context'])->prefix('api/finance')->group(function (): void {
Route::get('payments/{payment}/file', [PaymentFileController::class, 'show'])->whereNumber('payment')->name('finance.payments.file.show');
// Deprecated compatibility marker: do not enable filename-only finance downloads.
});