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