class Family::Legacy::ParentTeacherConfigsController < ApplicationController
  def index
    render_success :ok, json: config_props
  end

  private
    def parent_teacher_config
      current_school.find_or_build_parent_teacher_config
    end

    def config_props
      {
        active: parent_teacher_config.active
      }
    end
end
