def max_tenants
    logger.info(
      "MILIA >>>>> [max tenant signups] #{Time.now.to_s(:db)} - User: '#{params[:user].try(:email)}', Tenant: '#{params[:tenant].try(:name)}'"
    ) unless logger.nil?

    flash[:error] = "Sorry: new accounts not permitted at this time"

      # if using Airbrake & airbrake gem
    if ::Milia.use_airbrake
      notify_airbrake( $! )  # have airbrake report this -- requires airbrake gem
    end
    redirect_back
  end
def max_tenants
    logger.info(
      "MILIA >>>>> [max tenant signups] #{Time.now.to_s(:db)} - User: '#{params[:user].try(:email)}', Tenant: '#{params[:tenant].try(:name)}'"
    ) unless logger.nil?

    flash[:error] = "Sorry: new accounts not permitted at this time"

      # if using Airbrake & airbrake gem
    if ::Milia.use_airbrake
      notify_airbrake( $! )  # have airbrake report this -- requires airbrake gem
    end
    redirect_back
  end
------------------------------------------------------------------------------
 ------------------------------------------------------------------------------