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.

26 lines
596B

  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 :ssh, id: /[^\/]*/ do
  15. get '/', action: :index
  16. get ':id/', action: :show
  17. get ':id/refresh', action: :refresh, as: :refresh
  18. end
  19. root 'site#index'
  20. get '/ciphers' => 'site#ciphers'
  21. end