From e9f85573039fd2ebff64308f6b6ed48b13efef0b Mon Sep 17 00:00:00 2001 From: Wilmer Ramones Date: Thu, 6 Oct 2016 08:54:06 -0400 Subject: [PATCH] corregido error de incongruencia entre el mostrar y el editar de la planificacion seccion --- app/Resources/views/planificacionseccion/index.html.twig | 10 +++------- src/AppBundle/Controller/PlanificacionSeccionController.php | 2 +- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/app/Resources/views/planificacionseccion/index.html.twig b/app/Resources/views/planificacionseccion/index.html.twig index 05c7b18..89332ef 100644 --- a/app/Resources/views/planificacionseccion/index.html.twig +++ b/app/Resources/views/planificacionseccion/index.html.twig @@ -32,14 +32,10 @@
  • Planificar
  • +
  • - edit -
  • - {% if porcentaje == 100 %} -
  • - Calificar -
  • - {% endif %} + Editar + diff --git a/src/AppBundle/Controller/PlanificacionSeccionController.php b/src/AppBundle/Controller/PlanificacionSeccionController.php index e1e10c4..40c0d70 100644 --- a/src/AppBundle/Controller/PlanificacionSeccionController.php +++ b/src/AppBundle/Controller/PlanificacionSeccionController.php @@ -94,7 +94,7 @@ class PlanificacionSeccionController extends Controller /** * Finds and displays a PlanificacionSeccion entity. * - * @Route("/{id}/{porcentaje}", name="ceapp_docente_planificacion_show") + * @Route("/show/{id}/{porcentaje}", name="ceapp_docente_planificacion_show") * @Method("GET") */ public function showAction(Seccion $seccion, $porcentaje = null) -- 2.0.0