diff options
author | Peter Kozak <spag@golwen.net> | 2013-02-25 18:11:50 -0500 |
---|---|---|
committer | Peter Kozak <spag@golwen.net> | 2013-02-25 18:11:50 -0500 |
commit | ad2121462a9ea9a776756a188779a9d504f078b7 (patch) | |
tree | 2d338ad19a5cd8e9decfa520f49a4c424e062916 /app | |
parent | 387ce8f6694b41ab73d264190ce41dcd13484ede (diff) |
authorization added
Diffstat (limited to 'app')
-rw-r--r-- | app/controllers/intruders_controller.rb | 2 |
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 |