Files
animethemes-server/routes/dump.php
T
paranarimasu 517ba0ebf8 Playlists (#472)
* feat: add playlist resources

* style: fix StyleCI findings

* fix(admin): address nova exceptions
2022-10-19 00:32:06 -05:00

18 lines
501 B
PHP

<?php
declare(strict_types=1);
use App\Constants\Config\FlagConstants;
use App\Http\Controllers\Admin\DumpController;
use Illuminate\Support\Facades\Route;
use Illuminate\Support\Str;
$isDumpDownloadingAllowed = Str::of('is_feature_enabled:')
->append(FlagConstants::ALLOW_DUMP_DOWNLOADING_FLAG_QUALIFIED)
->append(',Dump Downloading Disabled')
->__toString();
Route::get('/{dump}', [DumpController::class, 'show'])
->name('dump.show')
->middleware($isDumpDownloadingAllowed);