The gate resistor on a MOSFET is really there to protect whatever is sourcing the current. Much like a discharged capacitor, the gate will initially look like a short to ground when voltage is first applied. A MOSFET with a very large gate capacitance can sink a very large amount of current for a short period of time. If you're driving the gate with, say, a MCU pin, it's usually a good idea to put a small resistor to reduce that current surge to a value the MCU can handle. If your MCU pin can handle, say, 20mA and you're driving 3.3V into the gate, then you choose a resistor that limits the current to 20mA at 3.3V:
The digital output pins of most MCUs are current limited already, so this isn't strictly necessary. But why pound on the output drive circuitry to the point that the current limiter kicks in?
Incidentally, MOSFET drivers are ICs specifically made to drive a large amount of current into the gate of a MOSFET so as to turn on the MOSFET as quickly as possible. The MOSFET turns on quicker and the switching losses are less.
All of that said, I believe you have another issue with your circuit. I suspect 3.3V is not enough to turn on two UV LEDs in series. The voltage will need to be at least as high as 2x the foward voltage of one of those LEDs. As it is, I don't think the LEDs will turn on.