def routes_table
      routes = Jets::Router.routes

      return "Your routes table is empty." if routes.empty?

      text = "Verb | Path | Controller#action\n"
      text << "--- | --- | ---\n"
      routes.each do |route|
        text << "#{route.method} | #{route.path} | #{route.to}\n"
      end
      html = Kramdown::Document.new(text).to_html
      puts html
      html
    end
def routes_table
      routes = Jets::Router.routes

      return "Your routes table is empty." if routes.empty?

      text = "Verb | Path | Controller#action\n"
      text << "--- | --- | ---\n"
      routes.each do |route|
        text << "#{route.method} | #{route.path} | #{route.to}\n"
      end
      html = Kramdown::Document.new(text).to_html
      puts html
      html
    end
Show pretty route table for user to help with debugging in non-production mode