demo/main.rb in rblosxom-0.1.2 vs demo/main.rb in rblosxom-0.1.3
- old
+ new
@@ -3,11 +3,12 @@
module Rblosxom
class Main < Base
get '/?' do
set_common_variables
@log.info "Main start"
- content = File.read(File.expand_path("../README.rdoc", File.dirname(__FILE__)))
- haml :index, :layout => true, :locals => { :readme => content }
+ @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: