Commit 62c9343f by Joel Florentin

agregar enlaces al index a las demas paginas

parent 86dda698
......@@ -31,7 +31,7 @@ public class CargoController {
this.convoRepo = convoRepo;
}
@RequestMapping("/cargos")
@RequestMapping("/convocatorias")
public String menuCargos(Model model,
@RequestParam(required = false) Long cargoId,
@RequestParam(required = false) Integer isOpen//1: true, 0: false
......@@ -41,7 +41,7 @@ public class CargoController {
model.addAttribute("convocatorias", convoRepo.f1ndByCargoAndEstado(new TypedParameterValue(LongType.INSTANCE, cargoId), new Date(), new TypedParameterValue(IntegerType.INSTANCE, isOpen)));
//model.addAttribute("convocatorias",cargoId==null? convoRepo.findAll() : convoRepo.findByCargoId(cargoId));
return "cargo";
return "convocatorias";
}
@RequestMapping("/cargo")
......
......@@ -8,5 +8,8 @@
</head>
<body>
<a href="postulante">Form postulante</a>
<a href="postulantes">Lista de postulantes</a>
<a href="#">Tecnologias</a>
<a href="convocatorias">Lista de convocatorias</a>
</body>
</html>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment