mirror of
https://github.com/dalbodeule/snap-admin.git
synced 2025-06-08 21:38:21 +00:00
Added successful delete message
This commit is contained in:
parent
737fac7bab
commit
608d42b412
@ -334,7 +334,9 @@ public class DefaultDbAdminController {
|
||||
}
|
||||
|
||||
saveAction(new UserAction(schema.getTableName(), id, "DELETE", schema.getClassName()));
|
||||
|
||||
attr.addFlashAttribute("message", "Deleted " + schema.getJavaClass().getSimpleName() + " with "
|
||||
+ schema.getPrimaryKey().getName() + "=" + id);
|
||||
|
||||
return "redirect:/" + properties.getBaseUrl() + "/model/" + className;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user