dzilajaca relacja users roles
This commit is contained in:
1 parent
2be2cdf064
commit
abbac0b416
8 files changed
+134
-7
No files matched your search
@@ -32,6 +32,7 @@ public class RoleController {
|
||||
|
||||
|
||||
@RequestMapping("/{roleId}")
|
||||
@ResponseBody
|
||||
public String getRole(@PathVariable("roleId") Long roleId) {
|
||||
Role role = roleRepository.findOne(roleId);
|
||||
return "role: "+role.toString();
|
||||
|
||||
Reference in new issue
Block a user