Closed smpallen99 closed 8 years ago
Your documentation says to put this in your configuration file:
post_login: &MyApp.PostLoginAction.log/3
This type of configuration won't work with exrm releases. You should change your implementation to use the following format:
post_login: {MyApp.PostLoginAction, :log}
and use the following to run the callback:
{mod, fun} = Application.get_env :addict, :post_login apply mod, fun, [arg1, arg2, arg3]
I've been burned with this probably a few times....
Ohhh, that explains it! Thanks @smpallen99! 👍
Your documentation says to put this in your configuration file:
This type of configuration won't work with exrm releases. You should change your implementation to use the following format:
and use the following to run the callback:
I've been burned with this probably a few times....