From 0cf6d4f725a22c4394b906a71fc83df1a3645936 Mon Sep 17 00:00:00 2001 From: Espen Antonsen Date: Wed, 12 Jan 2011 15:09:52 +0800 Subject: [PATCH] should check public access for user signup --- app/controllers/users_controller.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/controllers/users_controller.rb b/app/controllers/users_controller.rb index 7c8c2e1..a7cb18d 100644 --- a/app/controllers/users_controller.rb +++ b/app/controllers/users_controller.rb @@ -1,4 +1,5 @@ class UsersController < ApplicationController + before_filter :check_public_access before_filter :require_no_user, :only => [:new, :create] before_filter :require_user, :only => [:show, :edit, :update, :destroy] skip_filter :setup