Class: CertsController

Inherits:
ApplicationController
  • Object
show all
Defined in:
app/controllers/certs_controller.rb

Instance Method Summary collapse

Instance Method Details

#showObject

GET /cert



4
5
6
7
# File 'app/controllers/certs_controller.rb', line 4

def show
  @cert = Cert.pick_from_pool
  send_data @cert.zipped, :filename => @cert.zipname
end