Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6b5d659

Browse files
author
David Heinemeier Hansson
committed
Illustrate how to use Active Storage
Now that Rails itself won't show it
1 parent f21c1a1 commit 6b5d659

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

lib/install/packs/entrypoints/application.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,6 @@
1414
// const images = require.context('../images', true)
1515
// const imagePath = (name) => images(name, true)
1616

17-
console.log('Hello World from Webpacker')
17+
// Activate Active Storage
18+
// import * as ActiveStorage from "@rails/activestorage"
19+
// ActiveStorage.start()

0 commit comments

Comments
 (0)