Skip to content
This repository has been archived by the owner on Feb 29, 2024. It is now read-only.

Commit

Permalink
Add Rails 7 example with Propshaft
Browse files Browse the repository at this point in the history
  • Loading branch information
mmx900 authored and jgarber623 committed Jan 4, 2024
1 parent 9686d85 commit dbfb12e
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,16 @@ In a Rails 4.2.x or 5 application:
</body>
```

In a Rails 7 application with Propshaft:

```html
<body>
<!-- Your page’s awesome content goes here! -->

<%= raw Rails.application.assets.load_path.find('icons.svg').content %>
</body>
```

Or, with PHP:

```html
Expand Down

0 comments on commit dbfb12e

Please sign in to comment.