mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge pull request #8211 from Juanitou/patch-3
Correct path in $ModulePath example for templates
This commit is contained in:
commit
909723f8e7
@ -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…
Reference in New Issue
Block a user