You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -54,13 +58,13 @@ $app->get('/hello/{name}', function ($request, $response, $args) {
54
58
$app->run();
55
59
```
56
60
57
-
**NOTE**: if you are using _option 1_ please make sure you already have `$container['settings']['plates']` in your configuration file.
61
+
**NOTE**: if you are using _option 1_ please make sure you already have `$container['settings']['view']` in your configuration file.
58
62
59
63
## Custom template functions
60
64
61
65
This component exposes a custom `$this->pathFor()` function to your Plates templates. You can use this function to generate complete URLs to any Slim application named route. This is an example Plates template:
62
66
63
-
```html
67
+
```php
64
68
<?php $this->layout('base-template') ?>
65
69
66
70
<?php $this->start('body') ?>
@@ -82,7 +86,8 @@ Please see [CONTRIBUTING](CONTRIBUTING.md) for details.
0 commit comments