Skip to content

Commit 4800956

Browse files
author
Bastian Heist
committed
TASK: Make docs on views.yaml more precise.
Resolves #20.
1 parent b59e549 commit 4800956

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -241,10 +241,10 @@ You can change any template via the default method using `Views.yaml`. Please se
241241
http://flowframework.readthedocs.io/en/stable/TheDefinitiveGuide/PartIII/ModelViewController.html#configuring-views-through-views-yaml.
242242
Here's an example how to plug your own login template:
243243
244-
```
244+
```YAML
245245
246246
-
247-
requestFilter: 'isPackage("Sandstorm.UserManagement") && isController("Login") && isAction("login")'
247+
requestFilter: 'mainRequest.isPackage("Neos.Neos") && isPackage("Sandstorm.UserManagement") && isController("Login") && isAction("login")'
248248
options:
249249
templatePathAndFilename: 'resource://Your.Package/Private/Templates/Login/Login.html'
250250
partialRootPaths: ['resource://Your.Package/Private/Partials']

0 commit comments

Comments
 (0)