@@ -119,11 +119,11 module Redmine | |||||
119 | # hooks can be called in views like this: |
|
119 | # hooks can be called in views like this: | |
120 | # |
|
120 | # | |
121 | # <%= call_hook(:some_hook) %> |
|
121 | # <%= call_hook(:some_hook) %> | |
122 | # <%= call_hook(:another_hook, :foo => 'bar' %> |
|
122 | # <%= call_hook(:another_hook, :foo => 'bar') %> | |
123 | # |
|
123 | # | |
124 | # Or in controllers like: |
|
124 | # Or in controllers like: | |
125 | # call_hook(:some_hook) |
|
125 | # call_hook(:some_hook) | |
126 | # call_hook(:another_hook, :foo => 'bar' |
|
126 | # call_hook(:another_hook, :foo => 'bar') | |
127 | # |
|
127 | # | |
128 |
# Hooks added to views will be concatenated into a string. |
|
128 | # Hooks added to views will be concatenated into a string. Hooks added to | |
129 | # controllers will return an array of results. |
|
129 | # controllers will return an array of results. |
General Comments 0
You need to be logged in to leave comments.
Login now