Browse Source

getReminders array()

develop
Charly 3 years ago
parent
commit
2d4e5f8f07
2 changed files with 3 additions and 5 deletions
  1. +1
    -0
      Controller/Dashboard/DashboardAdminController.php
  2. +2
    -5
      Twig/StoreTwigExtension.php

+ 1
- 0
Controller/Dashboard/DashboardAdminController.php View File

@@ -15,6 +15,7 @@ use Symfony\Component\Routing\Annotation\Route;

class DashboardAdminController extends AbstractDashboardController
{

public function index(): Response
{
return $this->render('@LcSov/adminlte/dashboard.html.twig');

+ 2
- 5
Twig/StoreTwigExtension.php View File

@@ -35,11 +35,8 @@ class StoreTwigExtension extends AbstractExtension

public function getReminders($params)
{
return $this->reminderStore->get(array_merge(
[
'user' => $this->security->getUser()
], $params)
);
//TODO !!!!!!
return array();
}

}

Loading…
Cancel
Save