app/controllers/class_lists_controller.rb
# For getting access to class list data after the year has passed,
# until we rework the authorization to work at all times of the year.
For getting access to class list data after the year has passed,
until we rework the authorization to work at all times of the year.
For getting access to class list data after the year has passed until we rework the authorization to work at all times of the year .
def text
    raise Exceptions::EducatorNotAuthorized unless is_authorization_override_enabled?
    workspace_id = params.require(:workspace_id)
    class_list = ClassList.latest_class_list_for_workspace(workspace_id)
    text = ClassListText.new(class_list).dangerously_render_as_text
    render plain: text
  end
def text raise Exceptions :: EducatorNotAuthorized unless is_authorization_override_enabled? workspace_id = params . require ( :workspace_id ) class_list = ClassList . latest_class_list_for_workspace ( workspace_id ) text = ClassListText . new ( class_list ) . dangerously_render_as_text render plain : text end
For getting access to class list data after the year has passed,
until we rework the authorization to work at all times of the year.
For getting access to class list data after the year has passed until we rework the authorization to work at all times of the year .