Skip to content

Commit

Permalink
Fix stimulus import on payment page. Closes #812 (#813)
Browse files Browse the repository at this point in the history
  • Loading branch information
excid3 committed May 2, 2023
1 parent ec67bac commit 185db4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/pay/payments/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
<script type="module">
window.stripe = Stripe('<%= Pay::Stripe.public_key %>');

import { Application, Controller } from 'https://unpkg.com/@hotwired/stimulus'
import { Application, Controller } from 'https://unpkg.com/@hotwired/stimulus/dist/stimulus.js'
const application = Application.start()

application.register('payment-intent', class extends Controller {
Expand Down

0 comments on commit 185db4f

Please sign in to comment.