Update the_controller.rst

Corrected error in the sample code.