remove route unused route
This commit is contained in:
parent
9278d61719
commit
a47a8d6c63
2 changed files with 0 additions and 21 deletions
|
|
@ -54,18 +54,6 @@ class JsController extends Controller
|
|||
$this->l10nFactory = $l10nFactory;
|
||||
}
|
||||
|
||||
#[NoCSRFRequired]
|
||||
#[NoAdminRequired]
|
||||
#[PublicPage]
|
||||
#[FrontpageRoute(verb: 'GET', url: '/js/script')]
|
||||
public function script(): TemplateResponse
|
||||
{
|
||||
$response = new TemplateResponse(Application::APP_ID, 'js/script', $this->getConfig(), 'blank');
|
||||
$response->addHeader('Content-Type', 'text/javascript');
|
||||
|
||||
return $response;
|
||||
}
|
||||
|
||||
#[NoCSRFRequired]
|
||||
#[NoAdminRequired]
|
||||
#[PublicPage]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue