Actions
Patch #4878
openMore Hook Features
Patch #4878:
More Hook Features
Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Plugin API
Target version:
-
Description
Hi!
I added some features to hook.rb:
- cleaned-up
call_hook
- added an
:ifoption torender_on, so you can write:
- added
render_to_stringtoActionMailersocall_hookcan also be called from the mail templates inapp/views/mailer
Unfortunately I didn't manage to write the matching test for @hook_test.rb" so far.
Files
Actions