Add new resource for certs

This commit is contained in:
Martin Lensment 2015-02-25 16:26:09 +02:00
parent 143fb7eb1b
commit 5319db16b4
12 changed files with 310 additions and 33 deletions

View file

@ -48,9 +48,13 @@ Rails.application.routes.draw do
resources :admin_users
resources :api_users do
member do
get 'download_csr'
get 'download_crt'
resources :certificates do
member do
post 'sign'
post 'revoke'
get 'download_csr'
get 'download_crt'
end
end
end