mirror of
https://github.com/twigphp/Twig.git
synced 2026-08-30 12:06:56 +00:00
Fix a typo in api.rst
This commit is contained in:
+1
-1
@@ -182,7 +182,7 @@ Namespaced templates can be accessed via the special
|
||||
|
||||
$twig->render('@admin/index.html', []);
|
||||
|
||||
``\Twig\Loader\FilesystemLoader`` support absolute and relative paths. Using relative
|
||||
``\Twig\Loader\FilesystemLoader`` supports absolute and relative paths. Using relative
|
||||
paths is preferred as it makes the cache keys independent of the project root
|
||||
directory (for instance, it allows warming the cache from a build server where
|
||||
the directory might be different from the one used on production servers)::
|
||||
|
||||
Reference in New Issue
Block a user