after_action is not being triggered
I've tried several combinations, but it seems that the
after_action
callback is not being triggered. As a basic test, I added an IO.inspect
expecting to see output in my IEx session, but nothing gets logged.
Here's the code I'm using:
I'm calling it through the domain API using Calmecalli.Cohort.create_class!
2 Replies
change after_action(...)
Without the change
in front it doesn't do anythingThank you Zach! You're right!
Just for reference, it looks like this is the correct way to call it: