From 7aecb78922e93fb4a98b5e9debb1c254684c9cfc Mon Sep 17 00:00:00 2001 From: saeideng Date: Sun, 30 Jul 2017 19:07:20 +0430 Subject: [PATCH] remove 2.x syntax --- en/views.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/views.rst b/en/views.rst index 960e662ded..8e90d366ab 100644 --- a/en/views.rst +++ b/en/views.rst @@ -463,7 +463,7 @@ You can create as many layouts as you wish: just place them in the controller actions using the controller or view's ``$layout`` property:: // From a controller - public function admin_view() + public function view() { // Set the layout. $this->viewBuilder()->setLayout('admin');