Actions
Patch #4878
openMore Hook Features
Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Plugin API
Target version:
-
Start date:
2010-02-18
Due date:
% Done:
0%
Estimated time:
Description
Hi!
I added some features to hook.rb
:
- cleaned-up
call_hook
- added an
:if
option torender_on
, so you can write:render_on :view_issues_form_details_bottom, :partial => "test", :if => :really?
- added
render_to_string
toActionMailer
socall_hook
can 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
Updated by Eric Davis over 13 years ago
- Assignee deleted (
Eric Davis)
I am stepping down from working on Redmine. If someone else is interesting in working on this issue, feel free to reassign it to them.
Eric Davis
Updated by Etienne Massip almost 12 years ago
- Status changed from Resolved to New
Updated by Thomas Löber over 1 year ago
- Status changed from New to Resolved
Closing 13-year-old ticket.
Actions