This commit is contained in:
Michele Artini 2022-06-23 08:40:01 +02:00
parent 6984a463cb
commit d69bf62b5f
3 changed files with 5 additions and 2 deletions

View File

@ -17,12 +17,15 @@ public class VocabularyUIController {
@GetMapping("/vocabularyEditor")
public void vocabularyEditor(@RequestParam final String id, final ModelMap map) {
final Vocabulary voc = vocabularyRepository.getById(id);
map.put("vocId", voc.getId());
map.put("vocName", voc.getName());
map.put("vocDesc", voc.getDescription());
}
@GetMapping("/vocabularies")
public void vocabularies(final ModelMap map) {
}
}

View File

@ -21,7 +21,7 @@
<hr />
<ul>
<li>
<a href="vocabularies.html">Vocabulary Editor</a>
<a href="./vocabularies">Vocabulary Editor</a>
</li>
</ul>