0
0
zero-blog/config.ru
2011-06-25 07:33:58 +02:00

10 lines
200 B
Ruby

$LOAD_PATH << File.expand_path(File.dirname(__FILE__)) + '/'
require 'libs'
use Rack::CommonLogger
use Rack::Static, :urls => ['/public']
run Rack::URLMap.new({
'/' => Blog,
'/admin' => Admin
})