mirror of
https://github.com/dalbodeule/snap-admin.git
synced 2025-07-31 17:21:13 +00:00
Fixed missing redirect
This commit is contained in:
@@ -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()));
|
||||
|
Reference in New Issue
Block a user