diff --git a/app/controllers/ec_major_schools_controller.rb b/app/controllers/ec_major_schools_controller.rb index e22114da..d2d1a978 100644 --- a/app/controllers/ec_major_schools_controller.rb +++ b/app/controllers/ec_major_schools_controller.rb @@ -125,7 +125,8 @@ class EcMajorSchoolsController < ApplicationController evaluation_methods_url: evaluation_methods_url, competition_calculation_info_url: competition_calculation_info_url, score_level_setting_url: score_level_setting_url, - example_major: example_major + example_major: example_major, + allow_visit: User.current.admin? || User.current.ec_school.present?, } end