Text this: Gain control in L-band erbium-doped fiber amplifier using a ring resonator