summaryrefslogtreecommitdiff
path: root/certs/app
diff options
context:
space:
mode:
authorAzul <azul@leap.se>2012-11-19 14:46:11 +0100
committerAzul <azul@leap.se>2012-11-19 14:46:11 +0100
commitac4b60d13162c46ec72112f0ef3d315734868d1e (patch)
tree0921adcba7a56e8709dcec923851ccf273437feb /certs/app
parent5a5e73f2fefa8e1a06f18063a6d644a6d1c2a869 (diff)
require authentication for cert download w/ test
Diffstat (limited to 'certs/app')
-rw-r--r--certs/app/controllers/certs_controller.rb2
1 files changed, 2 insertions, 0 deletions
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