Allow to chain hook definitions on models
This commit allows to chain hook definitions like
Project
.afterCreate(function (proj, fn) {/* HOOK */})
.beforeDestroy(function (proj, fn) {/* HOOK */})
;
Showing
with
18 additions
and
17 deletions
-
Please register or sign in to post a comment