From ac4b60d13162c46ec72112f0ef3d315734868d1e Mon Sep 17 00:00:00 2001 From: Azul Date: Mon, 19 Nov 2012 14:46:11 +0100 Subject: require authentication for cert download w/ test --- certs/app/controllers/certs_controller.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'certs/app') diff --git a/certs/app/controllers/certs_controller.rb b/certs/app/controllers/certs_controller.rb index 6988a38..402bef3 100644 --- a/certs/app/controllers/certs_controller.rb +++ b/certs/app/controllers/certs_controller.rb @@ -1,5 +1,7 @@ class CertsController < ApplicationController + before_filter :authorize + # GET /cert def show @cert = Cert.pick_from_pool -- cgit v1.2.3