Commit c2209b32 authored by Bruno Nocera Zanette's avatar Bruno Nocera Zanette
Browse files

Fixed bug: Typo on RequestParam value name

Value name was "id" but on the URL it is "registration".
Signed-off-by: Bruno Nocera Zanette's avatarBruno Nocera Zanette <>
parent 15ab364b
......@@ -182,7 +182,7 @@ public class RegistrationController {
@RequestMapping(value = "studentinfo", method = RequestMethod.GET)
public String registrationOverview(@RequestParam(value="id", required =true) String id, Model model) {
public String registrationOverview(@RequestParam(value="registration", required =true) String id, Model model) {
Registration reg = Registration.findRegistration(new Long(id));
model.addAttribute("registration", Registration.findRegistration(reg.getId()));
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