# File lib/web/wiki.rb, line 236 def handle_request cmd = Web["action"] cmd = "default" if cmd.empty? || cmd == "view_revision" Request.actions[cmd].call(self) Web.template_include_path << File.join( File.dirname( __FILE__ ), "wiki", "resources" ) self.vars["content_template"] = self.content_template Web.print_template( self.template, self.vars ) end