diff --git a/config/routes.rb b/config/routes.rb index 0fbe80c..e7a7558 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -1,4 +1,6 @@ # frozen_string_literal: true +# Neat routing visualizer, in irb: +# File.open('routing.html', 'w+'){|f| f.write Rails.application.routes.router.visualizer } Rails.application.routes.draw do get "/styleguide", to: "application#styleguide", as: :styleguide get "/admin/styleguide", to: "application#styleguide"