summaryrefslogtreecommitdiff
path: root/certs/app/controllers/certs_controller.rb
diff options
context:
space:
mode:
authorAzul <azul@leap.se>2012-11-19 14:47:19 +0100
committerAzul <azul@leap.se>2012-11-19 14:47:19 +0100
commitc8cf2f5911f09d6898cff7d6a79f139272b065e7 (patch)
tree9602e8b1dfd7e63a6d77121cf7e7d576c516f031 /certs/app/controllers/certs_controller.rb
parent5a5e73f2fefa8e1a06f18063a6d644a6d1c2a869 (diff)
parent9810d5b66ca7f81df402e9b05957466a947bdf9b (diff)
Merge branch 'feature-require_login_for_cert_download' into develop
Diffstat (limited to 'certs/app/controllers/certs_controller.rb')
-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