You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

routes.rb 831B

12345678910111213141516171819202122232425262728293031323334
  1. Rails.application.routes.draw do
  2. namespace :https, id: /[^\/]+/ do
  3. get ':id/', action: :show
  4. get ':id/refresh', action: :refresh, as: :refresh
  5. end
  6. namespace :smtp, id: /[^\/]+/ do
  7. get ':id/', action: :show
  8. get ':id/refresh', action: :refresh, as: :refresh
  9. end
  10. namespace :xmpp, id: /[^\/]+/ do
  11. get ':id/', action: :show
  12. get ':id/refresh', action: :refresh, as: :refresh
  13. end
  14. namespace :tls, id: /[^\/]+/ do
  15. get '/', action: :index
  16. get ':id/', action: :show
  17. get ':id/refresh', action: :refresh, as: :refresh
  18. end
  19. namespace :ssh, id: /[^\/]+/ do
  20. get '/', action: :index
  21. get ':id/', action: :show
  22. get ':id/refresh', action: :refresh, as: :refresh
  23. end
  24. get 'ciphers' => 'site#ciphers'
  25. get 'suite' => 'site#suite_index'
  26. post 'suite' => 'site#suite'
  27. root 'site#index'
  28. post '/' => 'site#check'
  29. end