Skip to content
Snippets Groups Projects
Commit b9891b8d authored by Arnaud Levy's avatar Arnaud Levy
Browse files

fix

parent cb3fe12a
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment