Added by Adrian P about 15 years ago
Hi everybody,
how can i connect with a hook? Anyone has an example?
I would like to add a condition to the hook: controller_timelog_edit_before_save
I created a new plugin. I need to create a .lib file with a def? and ... ?
Regards,
A.
Hi Adrian, I know still less about hooks. But Aleksei Gusev in his plugin use hooks to issues controller.
http://github.com/hron/redmine_subtasks/blob/master/lib/redmine_subtasks/issues_controller_hooks.rb
I hope have help you.