append(':') ->append(AllowScriptDownloading::class) ->__toString(); Route::get('/{videoscript}', [ScriptController::class, 'show']) ->name('videoscript.show') ->middleware($isScriptDownloadingAllowed);