Merge pull request #8211 from Juanitou/patch-3

Correct path in $ModulePath example for templates
This commit is contained in:
Robbie Averill 2018-06-26 09:28:57 +12:00 committed by GitHub
commit 909723f8e7
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") %>