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