diff --git a/app/controllers/api/school_students_controller.rb b/app/controllers/api/school_students_controller.rb index be6ac2d5..0b9b8569 100644 --- a/app/controllers/api/school_students_controller.rb +++ b/app/controllers/api/school_students_controller.rb @@ -59,6 +59,7 @@ def destroy render json: { error: result[:error] }, status: :unprocessable_entity end end + private @@ -90,5 +91,6 @@ def create_owner_safeguarding_flag email: current_user.email ) end + end end