Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
engram-design authored Sep 16, 2021
1 parent 209b33a commit 0c1b50f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Through these, you'll be able to refer to resources like JS, CSS, images and fon

```twig
{# Use the `@resources` alias #}
<img src="{{ getAlias('@resource/img/logo.png') }}">
<img src="{{ alias('@resource/img/logo.png') }}">
{# Or use the `resource()` Twig function #}
<img src="{{ resource('/img/logo.png') }}">
Expand Down

0 comments on commit 0c1b50f

Please sign in to comment.