admin: add params to render

Signed-off-by: Varun Patil <radialapps@gmail.com>
pull/672/head
Varun Patil 2023-05-28 09:59:34 -07:00
parent c1ab6572bd
commit 86e27e0f46
1 changed files with 2 additions and 1 deletions

View File

@ -2,6 +2,7 @@
namespace OCA\Memories\Settings;
use OCA\Memories\Controller\PageController;
use OCP\AppFramework\Http\TemplateResponse;
use OCP\Settings\ISettings;
@ -21,7 +22,7 @@ class Admin implements ISettings
{
\OCP\Util::addScript($this->appName, 'memories-admin');
return new TemplateResponse('memories', 'main', []);
return new TemplateResponse('memories', 'main', PageController::getMainParams());
}
public function getSection()