Separate any loose connections by pulling the joints apart. This will expose the mortise and tenon for gluing.
Place a small amount of wood glue into the groove and gently put the tenon back into the mortise.
Tap the joint lightly with your rubber mallet until the joint feels completely tight.
Select the size of brads you will use. Choose brads that are shorter than the length of the joint so that you do not end up with a sharp point coming out of the joint.
Use a brad nailer to shoot a brad through the side of the joint into the tenon. Angle the nail so that it intersects the tenon. Brads can barely be seen when they are inserted correctly, which means that they are flush with the wood's surface. Use your rubber mallet to tap the brad flush with the wood once it has been inserted.
Repeat the process for two sides of the joint to ensure stability. The brads should cross each other in the middle of the joint.