summaryrefslogtreecommitdiff
path: root/certs/app/controllers/certs_controller.rb
diff options
context:
space:
mode:
authorAzul <azul@leap.se>2013-02-25 13:01:07 +0100
committerAzul <azul@leap.se>2013-02-25 13:01:07 +0100
commitd99bcf4b0d0b8716ab0da58ea7320fb33bac78bb (patch)
treeb2395a926fa606adfb59dab6fd10234d9b0ae823 /certs/app/controllers/certs_controller.rb
parenta314d1265bcf7b0c6dd66d61d03e1d2a7545cfb8 (diff)
enable free certs with a common name postfix
Diffstat (limited to 'certs/app/controllers/certs_controller.rb')
-rw-r--r--certs/app/controllers/certs_controller.rb2
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