diff options
| author | Jérémy Zurcher <jeremy@asynk.ch> | 2013-01-07 21:18:07 +0100 | 
|---|---|---|
| committer | Jérémy Zurcher <jeremy@asynk.ch> | 2013-01-07 21:18:07 +0100 | 
| commit | 929f5c6d149ee0b3a94174c764d7e5101366e26b (patch) | |
| tree | d1472de65cbc6f7dcb544ba98e9089c8425807ad | |
| parent | 6e91356b5a142a9ddef44a6162a5cbcfbaa1da0d (diff) | |
| download | zorglub-929f5c6d149ee0b3a94174c764d7e5101366e26b.zip zorglub-929f5c6d149ee0b3a94174c764d7e5101366e26b.tar.gz | |
use regex instead of string, fix cgit colorisation
| -rw-r--r-- | lib/zorglub/node.rb | 2 | 
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} | 
