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 c39c4b9..6619010 100644
--- a/lib/zorglub/node.rb
+++ b/lib/zorglub/node.rb
@@ -222,7 +222,7 @@ module Zorglub
end
#
def call env
- meth, *args = env['PATH_INFO'].sub(/^\//,'').split '/'
+ meth, *args = env['PATH_INFO'].sub(/^\//,'').split(/\//)
meth||= 'index'
puts "=> #{meth}(#{args.join ','})" if app.opt :debug
node = self.new env, {:engine=>engine,:layout=>layout,:view=>r(meth),:method=>meth,:args=>args,:static=>static}