From 803ba1b95e0f314502fb58c56f5de4538c022df2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20Andrade=20de=20Mendon=C3=A7a?= Date: Sat, 4 Mar 2017 15:09:12 -0300 Subject: [PATCH] Correct the code to get current template value --- en/views/helpers/paginator.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/views/helpers/paginator.rst b/en/views/helpers/paginator.rst index f16a356fcf..c088e0a522 100644 --- a/en/views/helpers/paginator.rst +++ b/en/views/helpers/paginator.rst @@ -66,7 +66,7 @@ runtime. This can be useful when you want to customize templates for a particular method call:: // Read the current template value. - $result = $this->Paginator->setTemplates('number'); + $result = $this->Paginator->getTemplates('number'); // Prior to 3.4 $result = $this->Paginator->templates('number');