admin: add params to render
Signed-off-by: Varun Patil <radialapps@gmail.com>pull/672/head
parent
c1ab6572bd
commit
86e27e0f46
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue