Correct path in $ModulePath example

The images/ subfolder was missing from the example. That said, this is not working as expected for me (see  #8210).
This commit is contained in:
Juan Molina 2018-06-24 23:51:52 +02:00 committed by GitHub
parent ccaa301345
commit 2b7f562297
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -467,7 +467,7 @@ Usage in templates:
```diff
-<img src="framework/images/image.png" />
+<img src="$ModulePath(silverstripe/framework)/image.png" />
+<img src="$ModulePath(silverstripe/framework)/images/image.png" />
-<% require css("framework/css/styles.css") %>
+<% require css("silverstripe/framework: css/styles.css") %>