mirror of
https://github.com/flarum/core.git
synced 2025-09-03 05:02:45 +02:00
Add API to run callback after a model instance is saved
This commit is contained in:
@@ -12,6 +12,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
||||
- `route` attribute for Mithril elements as a shortcut to link to a route.
|
||||
- Abstract SettingsModal component for quickly building admin config modals.
|
||||
- "Debug" button to inspect the response of a failed AJAX request.
|
||||
- `Model::afterSave()` API to run callback after a model instance is saved.
|
||||
|
||||
### Changed
|
||||
- Migrations must be namespaced under `Flarum\Migrations\{Core|ExtensionName}`. ([#422](https://github.com/flarum/core/issues/422))
|
||||
|
Reference in New Issue
Block a user