summaryrefslogtreecommitdiff
path: root/app/controllers
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/intruders_controller.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/controllers/intruders_controller.rb b/app/controllers/intruders_controller.rb
index 99cb023..d3c767e 100644
--- a/app/controllers/intruders_controller.rb
+++ b/app/controllers/intruders_controller.rb
@@ -1,4 +1,6 @@
class IntrudersController < ApplicationController
+ load_and_authorize_resource :intruder
+
def index
@intruders = Intruder.order('list_type ASC, contact_last DESC').all
spread_breadcrumbs