Update the_controller.rst

Corrected error in the sample code.
Great fixes! Could you please add a `,` after this line? Then we're ready.