removed giovanni

This commit is contained in:
Claudio Maggioni 2020-02-21 14:26:14 +01:00
parent 0489d0221c
commit 346d305950

View file

@ -17,10 +17,4 @@ public class WelcomeController {
List<Device> testDevices() {
return Arrays.asList(new Dimmer(), new Light(), new MotionSensor(), new Sensor(), new SmartPlug(), new Switch());
}
@GetMapping("/giovanni")
public String index(@RequestParam(name = "name", required = false, defaultValue = "World") String name, Model model) {
model.addAttribute("name", name);
return "index";
}
}