From 2f0d47621bc8247e3bc9003640e4d3632641246f Mon Sep 17 00:00:00 2001 From: Adrian Short Date: Wed, 8 Aug 2012 11:58:25 +0100 Subject: [PATCH] Require login for users controller --- app/controllers/users_controller.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/controllers/users_controller.rb b/app/controllers/users_controller.rb index 2dbaf19..9f36a2e 100644 --- a/app/controllers/users_controller.rb +++ b/app/controllers/users_controller.rb @@ -1,4 +1,6 @@ class UsersController < ApplicationController + before_filter :require_login + # GET /users # GET /users.json def index