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
633 B

7 years ago
Rails.application.routes.draw do
7 years ago
get 'ssh/show'
get 'ssh/index'
namespace :https, id: /[^\/]*/ do
get ':id/', action: :show
get ':id/refresh', action: :refresh, as: :refresh
end
namespace :smtp, id: /[^\/]*/ do
get ':id/', action: :show
get ':id/refresh', action: :refresh, as: :refresh
end
namespace :xmpp, id: /[^\/]*/ do
get ':id/', action: :show
get ':id/refresh', action: :refresh, as: :refresh
end
7 years ago
namespace :ssh, id: /[^\/]*/ do
get '/', action: :index
get ':id/', action: :show
get ':id/refresh', action: :refresh, as: :refresh
end
7 years ago
root 'site#index'
get '/ciphers' => 'site#ciphers'
7 years ago
end