change group controller name

This commit is contained in:
osaajani 2019-11-05 17:05:35 +01:00
parent 4050dce290
commit be194a06a8
2 changed files with 2 additions and 4 deletions

View File

@ -60,14 +60,12 @@ namespace controllers\publics;
if (!$this->verify_csrf($csrf))
{
\modules\DescartesSessionMessages\internals\DescartesSessionMessages::push('danger', 'Jeton CSRF invalid !');
return $this->redirect(\descartes\Router::url('Event', 'list'));
}
if (!\controllers\internals\Tool::is_admin())
{
\modules\DescartesSessionMessages\internals\DescartesSessionMessages::push('danger', 'Vous devez être admin pour pouvoir supprimer des events.');
return $this->redirect(\descartes\Router::url('Event', 'list'));
}

View File

@ -5,8 +5,8 @@ y Connect.php
y Console.php
y Contact.php
Dashboard.php
Discussion.php
Event.php
y Discussion.php
y Event.php
Groupe.php
Received.php
Scheduled.php