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 73811ea..4b75286 100644
--- a/lib/zorglub/node.rb
+++ b/lib/zorglub/node.rb
@@ -30,7 +30,7 @@ module Zorglub
def call env
meth, *args = env['PATH_INFO'][1..-1].split '/'
meth||= 'index'
- action = {:engine=>engine,:layout=>layout,:view=>File.join(r,meth),:method=>meth,:args=>args}
+ action = {:engine=>engine,:layout=>layout,:view=>r(meth),:method=>meth,:args=>args}
node = self.new Rack::Request.new(env), Rack::Response.new, action
return error_404 node if not node.respond_to? meth
node.realize