Hooks List » History » Version 2

« Previous - Version 2/25 (diff) - Next » - Current version
Eric Davis, 2008-08-13 03:15
Added controller and helper hooks documentation. Added information about using the rake task to list the hooks.


To see the current list of hooks, run rake redmine:plguins:hook_list in the Redmine directory.


For views hooks, current project is accessible using :project key of context.

Name Description Context
view_layouts_base_html_head Appends content to the html head of the base layout


Name Description Context
:controller_issues_bulk_edit_before_save Passes the current issue and the params to the hook before saving. This can be used to set attributes on the issues. :params, :issue


Name Description Context
:helper_issues_show_detail_after_setting Passes data to the hook to allow it to set the label and value. :detail, :label, :value, :old_value