From dbfb12ec1b9b1ecf24b174983daacb0215a31b98 Mon Sep 17 00:00:00 2001 From: Soyu Kim Date: Wed, 27 Dec 2023 14:58:14 +0900 Subject: [PATCH] Add Rails 7 example with Propshaft --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 0d8ece9..5e59b33 100644 --- a/README.md +++ b/README.md @@ -131,6 +131,16 @@ In a Rails 4.2.x or 5 application: ``` +In a Rails 7 application with Propshaft: + +```html + + + + <%= raw Rails.application.assets.load_path.find('icons.svg').content %> + +``` + Or, with PHP: ```html