Skip to content

Commit 462a948

Browse files
authored
Merge pull request #4787 from diego182/patch-1
Correct the code to get current template value
2 parents b8abf1b + 803ba1b commit 462a948

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

en/views/helpers/paginator.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ runtime. This can be useful when you want to customize templates for a
6666
particular method call::
6767

6868
// Read the current template value.
69-
$result = $this->Paginator->setTemplates('number');
69+
$result = $this->Paginator->getTemplates('number');
7070
// Prior to 3.4
7171
$result = $this->Paginator->templates('number');
7272

0 commit comments

Comments
 (0)