app/controllers/registrations_controller.rb in milia-0.3.26 vs app/controllers/registrations_controller.rb in milia-0.3.27

- old
+ new

@@ -31,14 +31,10 @@ if resource.errors.empty? # SUCCESS! # do any needed tenant initial setup Tenant.tenant_signup(resource, @tenant, params[:coupon]) - # render expected to be already complete - set_flash_message :notice, :send_instructions - flash[:notice] = "** wild blue **" if flash[:notice].blank? - else # user creation failed; force tenant rollback raise ActiveRecord::Rollback # force the tenant transaction to be rolled back end # if..then..else for valid user creation else @@ -52,10 +48,10 @@ flash[:error] = "Recaptcha codes didn't match; please try again" prep_signup_view( params[:tenant], params[:user], params[:coupon] ) render :new end - trace_flash + trace_flash( "milia" ) end # def create # ------------------------------------------------------------------------------ # ------------------------------------------------------------------------------