mirror of
https://github.com/RaspbianFrance/raspisms.git
synced 2025-05-01 13:56:28 +02:00
change group controller name
This commit is contained in:
parent
4050dce290
commit
be194a06a8
2 changed files with 2 additions and 4 deletions
|
@ -60,14 +60,12 @@ namespace controllers\publics;
|
||||||
if (!$this->verify_csrf($csrf))
|
if (!$this->verify_csrf($csrf))
|
||||||
{
|
{
|
||||||
\modules\DescartesSessionMessages\internals\DescartesSessionMessages::push('danger', 'Jeton CSRF invalid !');
|
\modules\DescartesSessionMessages\internals\DescartesSessionMessages::push('danger', 'Jeton CSRF invalid !');
|
||||||
|
|
||||||
return $this->redirect(\descartes\Router::url('Event', 'list'));
|
return $this->redirect(\descartes\Router::url('Event', 'list'));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!\controllers\internals\Tool::is_admin())
|
if (!\controllers\internals\Tool::is_admin())
|
||||||
{
|
{
|
||||||
\modules\DescartesSessionMessages\internals\DescartesSessionMessages::push('danger', 'Vous devez être admin pour pouvoir supprimer des events.');
|
\modules\DescartesSessionMessages\internals\DescartesSessionMessages::push('danger', 'Vous devez être admin pour pouvoir supprimer des events.');
|
||||||
|
|
||||||
return $this->redirect(\descartes\Router::url('Event', 'list'));
|
return $this->redirect(\descartes\Router::url('Event', 'list'));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
4
todo.txt
4
todo.txt
|
@ -5,8 +5,8 @@ y Connect.php
|
||||||
y Console.php
|
y Console.php
|
||||||
y Contact.php
|
y Contact.php
|
||||||
Dashboard.php
|
Dashboard.php
|
||||||
Discussion.php
|
y Discussion.php
|
||||||
Event.php
|
y Event.php
|
||||||
Groupe.php
|
Groupe.php
|
||||||
Received.php
|
Received.php
|
||||||
Scheduled.php
|
Scheduled.php
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue