Commit Graph

5 Commits

Author SHA1 Message Date
Duana Saskia 9d742e61a7 Refactor: move active hook filter to TriggerableHooks 2018-09-05 21:58:52 +10:00
Alexis Reigel f99b0cc585 no need for a named parameter 2018-01-17 09:55:00 +01:00
Alexis Reigel a63792b724 accepts `.all` as a hook scope as well 2018-01-17 09:55:00 +01:00
Alexis Reigel a78abf3a00 use safer .hooks_for instead of .public_send
with .public_send we can't make sure that the scope on the model
actually exists.
2018-01-17 09:55:00 +01:00
Alexis Reigel ac92d70d90 extract concern for hook triggers 2018-01-17 09:55:00 +01:00