mirror of
https://github.com/grocy/grocy.git
synced 2025-04-29 17:45:39 +00:00
19 lines
461 B
PHP
19 lines
461 B
PHP
<?php
|
|
|
|
namespace Grocy\Controllers;
|
|
|
|
class CalendarController extends BaseController
|
|
{
|
|
public function Overview(\Psr\Http\Message\ServerRequestInterface $request, \Psr\Http\Message\ResponseInterface $response, array $args)
|
|
{
|
|
return $this->renderPage($response, 'calendar', [
|
|
'fullcalendarEventSources' => $this->getCalendarService()->GetEvents()
|
|
]);
|
|
}
|
|
|
|
public function __construct(\DI\Container $container)
|
|
{
|
|
parent::__construct($container);
|
|
}
|
|
}
|