summaryrefslogtreecommitdiff
path: root/certs/app/controllers/certs_controller.rb
blob: 6099ac08abc410d565b4b0d5a2cbd2969720ed96 (plain)
1
2
3
4
5
6
7
8
9
class CertsController < ApplicationController

  # GET /cert
  def show
    @cert = ClientCertificate.new(free: !logged_in?)
    render :text => @cert.key + @cert.cert, :content_type => 'text/plain'
  end

end