diff options
Diffstat (limited to 'certs/app/controllers/certs_controller.rb')
-rw-r--r-- | certs/app/controllers/certs_controller.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/certs/app/controllers/certs_controller.rb b/certs/app/controllers/certs_controller.rb new file mode 100644 index 0000000..6988a38 --- /dev/null +++ b/certs/app/controllers/certs_controller.rb @@ -0,0 +1,9 @@ +class CertsController < ApplicationController + + # GET /cert + def show + @cert = Cert.pick_from_pool + render :text => @cert.zipped, :content_type => 'text/plain' + end + +end |