Update the_controller.rst

Corrected error in the sample code.
bug #4646 Update the_controller.rst (teggen)

This PR was submitted for the 2.6 branch but it was merged into the 2.3 branch instead (closes #4646).

Discussion
----------

Update the_controller.rst

Corrected error in the sample code.

Commits
-------

40e63b9 Update the_controller.rst