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.

30 lines
633B

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