'.+'])] public function run(string $path): TemplateResponse { $user = $this->userSession->getUser(); if (!$user) { throw new \Exception('User not logged in'); } $folder = $this->rootFolder->getUserFolder($user->getUID()); $folder->get($path); Util::addScript(Application::APP_ID, Application::APP_ID.'-main'); return new TemplateResponse( Application::APP_ID, 'index', ); } }