Commit bb6b5d22b858712e4eab0b6abe16b93f92c2a382
1 parent
bbbfd8f3e8
Exists in
master
corrige bug de redireccionamiento cuando nuevo usuario le toca cargar pida
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/AppBundle/Controller/AppController.php
... | ... | @@ -65,7 +65,7 @@ class AppController extends Controller { |
65 | 65 | $em = $this->getDoctrine()->getManager(); |
66 | 66 | if(!$pida){ |
67 | 67 | $this->addFlash('warning', 'Estimado Docente Mientras se verifica su adscripción, le solicitamos que por favor cree su PIDA.'); |
68 | - return $this->redirect($this->generateUrl('solicitud_pida')); | |
68 | + return $this->redirectToRoute('solicitud_pida', array('id' => $servicioAdscripcion->getId())); | |
69 | 69 | }else{ |
70 | 70 | $caducidad = $this->getDoctrine()->getRepository("AppBundle:PidaCaducidad")->findOneByIdDocenteServicio($pida); |
71 | 71 | if($caducidad){ | ... | ... |