diff options
Diffstat (limited to 'certs/app/controllers')
-rw-r--r-- | certs/app/controllers/certs_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/certs/app/controllers/certs_controller.rb b/certs/app/controllers/certs_controller.rb index 6099ac0..3b7d35d 100644 --- a/certs/app/controllers/certs_controller.rb +++ b/certs/app/controllers/certs_controller.rb @@ -3,7 +3,7 @@ class CertsController < ApplicationController # GET /cert def show @cert = ClientCertificate.new(free: !logged_in?) - render :text => @cert.key + @cert.cert, :content_type => 'text/plain' + render text: @cert.to_s, content_type: 'text/plain' end end |