require 'rblosxom/base' module Rblosxom class Main < Base get '/?' do set_common_variables @log.info "Main start" @log.debug "Main debug" content = File.read(File.expand_path("../README.mkd", File.dirname(__FILE__))) haml :index, :layout => true, :locals => { :content => content } end end end # vim: ft=ruby:fenc=utf-8:sw=4:ts=4:sts=4:et: # main.rb end here