Commit 5232cbf8 by luiz.nunes

Update HomeController.java

parent 12d36ccc
...@@ -42,6 +42,9 @@ public class HomeController { ...@@ -42,6 +42,9 @@ public class HomeController {
List<Record> records = repository.findAll(); List<Record> records = repository.findAll();
model.addAttribute("records", records); model.addAttribute("records", records);
model.addAttribute("insertRecord", new Record()); model.addAttribute("insertRecord", new Record());
String myEnv = System.getenv("AMBIENTE");
model.addAttribute("ambiente", myEnv);
return "home"; return "home";
} }
......
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