From a314d1265bcf7b0c6dd66d61d03e1d2a7545cfb8 Mon Sep 17 00:00:00 2001 From: Azul Date: Mon, 25 Feb 2013 12:35:00 +0100 Subject: enable free certs in the controller --- certs/app/controllers/certs_controller.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'certs/app') diff --git a/certs/app/controllers/certs_controller.rb b/certs/app/controllers/certs_controller.rb index 6db270c..6099ac0 100644 --- a/certs/app/controllers/certs_controller.rb +++ b/certs/app/controllers/certs_controller.rb @@ -1,10 +1,8 @@ class CertsController < ApplicationController - before_filter :authorize - # GET /cert def show - @cert = ClientCertificate.new + @cert = ClientCertificate.new(free: !logged_in?) render :text => @cert.key + @cert.cert, :content_type => 'text/plain' end -- cgit v1.2.3