should check public access for user signup

This commit is contained in:
Espen Antonsen 2011-01-12 15:09:52 +08:00
parent 79d1856ad9
commit 0cf6d4f725

View file

@ -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