diff --git a/app/models/communication/extranet.rb b/app/models/communication/extranet.rb index 5f86575e1f563c0e574f72a2d523b71cf2b9cffe..75b8c1a0dcac4cc3b9e9973ce2de01aa0f4b4dea 100644 --- a/app/models/communication/extranet.rb +++ b/app/models/communication/extranet.rb @@ -41,6 +41,9 @@ class Communication::Extranet < ApplicationRecord end def should_show_years? + # For a single program, year is like cohort + return false if about.is_a? Education::Program + # if a school has a single program, same thing about.programs.many? end