module Juici::Controllers class Index def index yield [:index, {:active => :index}] end def about content = GitHub::Markdown.render(File.read("lib/juici/views/README.markdown")) content.gsub!(//, '') yield [:about, {:active => :about, :content => content}] end def support yield [:support, {:active => :support}] end end end