Skip to content

Commit bc95ecc

Browse files
committed
Fixed code examples in components/templating
1 parent 7849678 commit bc95ecc

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

components/templating.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,8 @@ helper must be registered::
9090

9191
$view->set(new SlotsHelper());
9292

93-
// Retrieve $page object
93+
// Retrieve page object
94+
$page = ...;
9495

9596
echo $view->render('page.php', array('page' => $page));
9697

@@ -107,4 +108,4 @@ This documentation is still being written.
107108
The Asset Helper
108109
----------------
109110

110-
This documentation is still being written.
111+
This documentation is still being written.

0 commit comments

Comments
 (0)