def route(path, &block)
      selector = Gopher::Application.sanitize_selector(path)
      sig = compile!(selector, &block)

      debug_log("Add route for #{selector}")

      self.routes ||= []
      self.routes << sig
    end
def route(path, &block)
      selector = Gopher::Application.sanitize_selector(path)
      sig = compile!(selector, &block)

      debug_log("Add route for #{selector}")

      self.routes ||= []
      self.routes << sig
    end
define a route.
 @param [String] path the path your route will answer to. This is basically a URI path
 @yield a block that handles your route

 @example respond with a simple string
   route '/path' do
     "hi, welcome to /path"
   end

 @example respond by rendering a template
   route '/render' do
     render :template
   end