class Internal::Student::AdditionalIdsController < Internal::Controller
  def create
    student.sync_legacy_ids
  end

  private
    def student
      @student ||= current_school.students.find_by(id: params[:student_id])
    end
end
