0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-27 22:49:56 -05:00
ghost/core/server/models/base
Katharina Irrgang 8cd5d9f6fe 🎨 register events in base model (#7560)
refs #7432

- all models implemented it's own initialize fn to register events
- we can register all events in the base model
- important: we only listen on the event, if the model has defined a hook for it
- this is just a small clean up PR
- register more bookshelf events
2016-10-14 13:37:01 +01:00
..
index.js 🎨 register events in base model (#7560) 2016-10-14 13:37:01 +01:00
listeners.js Error creation (#7477) 2016-10-06 13:27:35 +01:00
token.js 🎨 register events in base model (#7560) 2016-10-14 13:37:01 +01:00
utils.js deps: lodash@4.13.1 2016-06-11 13:13:55 -06:00