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

Add Rails 7 example with Propshaft #113

Merged
merged 1 commit into from
Jan 4, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading