This commit is contained in:
parent
6984a463cb
commit
d69bf62b5f
|
@ -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) {
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
<hr />
|
||||
<ul>
|
||||
<li>
|
||||
<a href="vocabularies.html">Vocabulary Editor</a>
|
||||
<a href="./vocabularies">Vocabulary Editor</a>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
|
|
Loading…
Reference in New Issue