diff options
-rw-r--r-- | lib/zorglub/node.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/zorglub/node.rb b/lib/zorglub/node.rb index 5e66d1c..f2aaa72 100644 --- a/lib/zorglub/node.rb +++ b/lib/zorglub/node.rb @@ -48,7 +48,8 @@ module Zorglub end # def partial meth, *args - node = self.new nil, {:engine=>engine,:layout=>'',:view=>r(meth),:method=>meth.to_s,:args=>args} + # TODO maybe use :mode=>:partial ??? + node = self.new nil, {:engine=>engine,:layout=>nil,:view=>r(meth),:method=>meth.to_s,:args=>args} return error_404 node if not node.respond_to? meth node.feed! node.content |