Add :through associations for :restaurant/:course.