mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
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:
parent
ccaa301345
commit
2b7f562297
@ -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") %>
|
||||
|
Loading…
x
Reference in New Issue
Block a user