summaryrefslogtreecommitdiff
path: root/templates/vhosts/itk_plus.erb
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2012-06-08 12:09:39 -0300
committermh <mh@immerda.ch>2012-06-08 12:09:39 -0300
commit9cbf2fafee3f4623b75d1a6b70458ab097e64924 (patch)
tree82a619d81198ddd49cb5df5f1116281904e08023 /templates/vhosts/itk_plus.erb
parentedc2afe65136d49501b6aaeb805269b3f7bb141f (diff)
fix dynamic scope variables, function access
Diffstat (limited to 'templates/vhosts/itk_plus.erb')
-rw-r--r--templates/vhosts/itk_plus.erb6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/vhosts/itk_plus.erb b/templates/vhosts/itk_plus.erb
index 2890ecf..b7cb180 100644
--- a/templates/vhosts/itk_plus.erb
+++ b/templates/vhosts/itk_plus.erb
@@ -1,10 +1,10 @@
<IfDefine HttpdLocal>
-<%= scope.function_template('apache/vhost/default.erb') %>
+<%= scope.function_template(['apache/vhost/default.erb']) %>
</IfDefine>
<IfDefine !HttpdLocal>
<%
scope.unsetvar('template_partial')
scope.setvar('template_partial','apache/vhosts/itk_plus/partial.erb')
-%>
-<%= scope.function_template('apache/vhost/default.erb') %>
-</IfDefine> \ No newline at end of file
+<%= scope.function_template(['apache/vhost/default.erb']) %>
+</IfDefine>