Project

General

Profile

Using Hooks

Added by Bowman Jean over 14 years ago

I've got a custom field I want to generate every time I save an issue. I looked into the Hooks page and :controller_issues_edit_before_save seems to be the one I want. Are there any plugins around that use hooks so I could get an idea of how to do it?


Replies (1)

RE: Using Hooks - Added by Eric Davis over 14 years ago

Bowman Jean:

I think you might want to use a Rails callback instead. This wiki page describes them along with some example code:

http://www.redmine.org/wiki/redmine/Plugin_Internals#Using-Rails-callbacks-in-Redmine-plugins

Eric Davis

    (1-1/1)