summaryrefslogtreecommitdiffstats
path: root/example
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2013-02-01 11:00:16 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2013-02-01 11:00:16 +0100
commitd52a73957c2d2f044581de08e850ae846c65aec1 (patch)
tree432608ff0ba89f36aa28ad9ce20c67e3e57cf6a2 /example
parente02cbcfae357acd51811b9ee0ddb353b7b4bb48c (diff)
downloadzorglub-d52a73957c2d2f044581de08e850ae846c65aec1.zip
zorglub-d52a73957c2d2f044581de08e850ae846c65aec1.tar.gz
fix example
Diffstat (limited to 'example')
-rw-r--r--example/sample.ru2
1 files changed, 1 insertions, 1 deletions
diff --git a/example/sample.ru b/example/sample.ru
index c7fd639..babea15 100644
--- a/example/sample.ru
+++ b/example/sample.ru
@@ -89,7 +89,7 @@ class Node2 < Zorglub::Node
end
#
def meth1 *args
- more = Node2.partial :meth0, *args
+ more = Node2.partial response.env, :meth0, *args
"<title>Node2:meth1</title><b>partial</b><br/>#{more}<br/><b>done</b><br/><a href=#{Node0.r}>back</a>"
end
end