diff --git a/es/controllers.rst b/es/controllers.rst index 5bdccff12c..58d542808b 100644 --- a/es/controllers.rst +++ b/es/controllers.rst @@ -264,7 +264,7 @@ re-renderizar la vista:: { public function my_action() { - $this->render('custom_file'); + return $this->render('custom_file'); } } @@ -280,7 +280,7 @@ También puedes renderizar vistas dentro de plugins usando la siguiente sintaxis { public function myAction() { - $this->render('Users.UserDetails/custom_file'); + return $this->render('Users.UserDetails/custom_file'); } } diff --git a/ja/controllers.rst b/ja/controllers.rst index b67f33c25f..b4c4f0525e 100644 --- a/ja/controllers.rst +++ b/ja/controllers.rst @@ -234,7 +234,7 @@ AJAX 呼び出しではとても有用です。 :: { public function my_action() { - $this->render('custom_file'); + return $this->render('custom_file'); } } @@ -251,7 +251,7 @@ AJAX 呼び出しではとても有用です。 :: { public function myAction() { - $this->render('Users.UserDetails/custom_file'); + return $this->render('Users.UserDetails/custom_file'); } } diff --git a/pt/controllers.rst b/pt/controllers.rst index d44cd86f29..82d330f0b3 100644 --- a/pt/controllers.rst +++ b/pt/controllers.rst @@ -253,7 +253,7 @@ convencional. Você pode fazer isso chamando o método { public function my_action() { - $this->render('custom_file'); + return $this->render('custom_file'); } }