app/controllers/clearance/users_controller.rb in thoughtbot-clearance-0.6.0 vs app/controllers/clearance/users_controller.rb in thoughtbot-clearance-0.6.1

- old
+ new

@@ -3,15 +3,15 @@ before_filter :redirect_to_root, :only => [:new, :create], :if => :signed_in? filter_parameter_logging :password def new - @user = User.new(params[:user]) + @user = ::User.new(params[:user]) render :template => 'users/new' end def create - @user = User.new params[:user] + @user = ::User.new params[:user] if @user.save ClearanceMailer.deliver_confirmation @user flash[:notice] = "You will receive an email within the next few minutes. " << "It contains instructions for confirming your account." redirect_to url_after_create