mirror of
https://github.com/dalbodeule/snap-admin.git
synced 2025-06-08 21:38:21 +00:00
Fixed missing redirect
This commit is contained in:
parent
407dbafabd
commit
1f7f8ba327
@ -338,6 +338,7 @@ public class DefaultDbAdminController {
|
||||
} catch (DataIntegrityViolationException e) {
|
||||
attr.addFlashAttribute("errorTitle", "Unable to DELETE row");
|
||||
attr.addFlashAttribute("error", e.getMessage());
|
||||
return "redirect:/" + properties.getBaseUrl() + "/model/" + className;
|
||||
}
|
||||
|
||||
saveAction(new UserAction(schema.getTableName(), id, "DELETE", schema.getClassName()));
|
||||
|
Loading…
x
Reference in New Issue
Block a user