lib/authpds/controllers/authpds_controller.rb in authpds-0.0.15 vs lib/authpds/controllers/authpds_controller.rb in authpds-0.0.16

- old
+ new

@@ -31,10 +31,10 @@ @current_primary_institution ||= (InstitutionList.institutions_defined?) ? (params["#{institution_param_key}"].nil? or InstitutionList.instance.get(params["#{institution_param_key}"]).nil?) ? (primary_institution_from_ip.nil?) ? (current_user.nil? or current_user.primary_institution.nil?) ? - InstitutionList.instance.defautls.first : + InstitutionList.instance.defaults.first : current_user.primary_institution : primary_institution_from_ip : InstitutionList.instance.get(params["#{institution_param_key}"]) : nil end \ No newline at end of file