Merged r7432 from trunk.
fix typos in lib/redmine/hook.rb. Contributed by Igor Zubkov. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/1.2-stable@7434 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
51d7c568b0
commit
73e27a48e0
@ -115,17 +115,17 @@ module Redmine
|
|||||||
end
|
end
|
||||||
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:
|
# hooks can be called in views like this:
|
||||||
#
|
#
|
||||||
# <%= call_hook(:some_hook) %>
|
# <%= call_hook(:some_hook) %>
|
||||||
# <%= call_hook(:another_hook, :foo => 'bar' %>
|
# <%= call_hook(:another_hook, :foo => 'bar') %>
|
||||||
#
|
#
|
||||||
# Or in controllers like:
|
# Or in controllers like:
|
||||||
# call_hook(:some_hook)
|
# 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.
|
# controllers will return an array of results.
|
||||||
#
|
#
|
||||||
# Several objects are automatically added to the call context:
|
# Several objects are automatically added to the call context:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user