diff --git a/user_guide_src/source/incoming/controllers.rst b/user_guide_src/source/incoming/controllers.rst index d945a0f28bf0..bb8ed35a9f51 100644 --- a/user_guide_src/source/incoming/controllers.rst +++ b/user_guide_src/source/incoming/controllers.rst @@ -205,11 +205,11 @@ be passed as a parameter to the ``_remap()`` method:: { if ($method === 'some_method') { - $this->$method(); + return $this->$method(); } else { - $this->default_method(); + return $this->default_method(); } }