From 8c36b67cfb149e1d4840f956707dd403bf50adae Mon Sep 17 00:00:00 2001 From: Will Bradley Date: Sun, 2 Sep 2012 04:19:13 -0700 Subject: [PATCH] Require user account --- app/controllers/door_logs_controller.rb | 2 ++ app/controllers/users_controller.rb | 2 ++ 2 files changed, 4 insertions(+) diff --git a/app/controllers/door_logs_controller.rb b/app/controllers/door_logs_controller.rb index 1c589f1..792cf6f 100644 --- a/app/controllers/door_logs_controller.rb +++ b/app/controllers/door_logs_controller.rb @@ -1,4 +1,6 @@ class DoorLogsController < ApplicationController + before_filter :authenticate_user! + # GET /door_logs # GET /door_logs.json def index diff --git a/app/controllers/users_controller.rb b/app/controllers/users_controller.rb index 4bfc36a..ffdcbeb 100644 --- a/app/controllers/users_controller.rb +++ b/app/controllers/users_controller.rb @@ -1,4 +1,6 @@ class UsersController < ApplicationController + before_filter :authenticate_user! + # GET /users # GET /users.json def index