Commit 6440d7b6f5c95bd58c2f1530bade159649c75f40
1 parent
854f295c6f
Exists in
master
corrige el error del redireccionamiento infinito al no poder realizar una solici…
…tud de permisos por no ser asistente
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
src/AppBundle/Controller/PermisosController.php
@@ -45,8 +45,8 @@ class PermisosController extends Controller | @@ -45,8 +45,8 @@ class PermisosController extends Controller | ||
45 | )); | 45 | )); |
46 | 46 | ||
47 | if(!$escalafones){ | 47 | if(!$escalafones){ |
48 | - $this->addFlash('danger', 'Estimado Docente, debe ser mínimo Asistente para poder realizar esta solicitud'); | ||
49 | - return $this->redirect($this->generateUrl('permisos_index')); | 48 | + $this->addFlash('danger', 'Estimado Docente, debe estar como mínino en la categoría Asistente para poder realizar esta solicitud'); |
49 | + return $this->redirect($this->generateUrl('cea_index')); | ||
50 | } | 50 | } |
51 | 51 | ||
52 | 52 |