Project

General

Profile

Patch #9291 ยป redmine-r7431.patch

Igor Zubkov, 2011-09-21 10:07

View differences:

redmine/lib/redmine/hook.rb 2011-09-21 11:04:56.618294110 +0300
end
end
# Helper module included in ApplicationHelper and ActionControllerso that
# Helper module included in ApplicationHelper and ActionController so that
# hooks can be called in views like this:
#
# <%= call_hook(:some_hook) %>
# <%= call_hook(:another_hook, :foo => 'bar' %>
# <%= call_hook(:another_hook, :foo => 'bar') %>
#
# Or in controllers like:
# call_hook(:some_hook)
# call_hook(:another_hook, :foo => 'bar'
# call_hook(:another_hook, :foo => 'bar')
#
# Hooks added to views will be concatenated into a string. Hooks added to
# Hooks added to views will be concatenated into a string. Hooks added to
# controllers will return an array of results.
#
# Several objects are automatically added to the call context:
    (1-1/1)