app/controllers/clearance/users_controller.rb in clearance-0.9.1 vs app/controllers/clearance/users_controller.rb in clearance-0.10.0

- old
+ new

@@ -11,10 +11,11 @@ def create @user = ::User.new params[:user] if @user.save flash_notice_after_create + sign_in(@user) redirect_to(url_after_create) else render :template => 'users/new' end end @@ -22,11 +23,10 @@ private def flash_notice_after_create flash[:notice] = translate(:deliver_confirmation, :scope => [:clearance, :controllers, :users], - :default => "You will receive an email within the next few minutes. " << - "It contains instructions for confirming your account.") + :default => "You are now signed up.") end def url_after_create sign_in_url end