summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/zorglub/node.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/zorglub/node.rb b/lib/zorglub/node.rb
index 405faac..87ed6a8 100644
--- a/lib/zorglub/node.rb
+++ b/lib/zorglub/node.rb
@@ -275,7 +275,7 @@ module Zorglub
@request = @parent ? @parent.request : Rack::Request.new(env)
@response = @parent ? @parent.response : Rack::Response.new
- @view = r(meth)
+ @view = options[:view] || r(meth)
@partial = options[:partial] || false
@layout = (options[:partial] ? nil : self.class.layout)